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

Fix router redirect to original destination after login #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OneRedOak
Copy link

@OneRedOak OneRedOak commented Mar 22, 2019

Because location is currently not imported into props, the redirect after login will always default to /, instead of grabbing the originally intended path from the /login?next= param set in src/static/utils/requireAuthentication.js. Adding this line will correct that, allowing for successful redirection after user login.

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

Successfully merging this pull request may close these issues.

1 participant