Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

&redirectToPrior in combination with &loginResourceId not working #159

Open
jdaehne opened this issue Nov 11, 2019 · 1 comment
Open

&redirectToPrior in combination with &loginResourceId not working #159

jdaehne opened this issue Nov 11, 2019 · 1 comment

Comments

@jdaehne
Copy link

jdaehne commented Nov 11, 2019

I use &redirectToPrior=1 and &loginResourceId=200 to redirect users on login to the internal user-account-site and would like to redirect the users to the prior site if that url is set.

The &redirectToPrior=1 works perfect as long as i do not set &loginResourceId. If i set &loginResourceId to a resource the &redirectToPrior=1 gets ignored.

I would expect that the user gets always redirected to the prior site if that is set and to the user-account-site by default.

I use this in combination with the commerce extra from modmore and would like to redirect the users on login to the user-account-site and if they come from the commerce-cart i would like to process with the checkout.

@Mark-H
Copy link

Mark-H commented Nov 11, 2019

You could create a separate login page for Commerce to get around this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants