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 redirect from "add account" page - Closes #230 #268

Merged
merged 4 commits into from
Feb 5, 2018

Conversation

slaweet
Copy link
Contributor

@slaweet slaweet commented Feb 5, 2018

What was the problem?

Logging into a new account has a step when the old account is removed and new is being fetched. In this situation, /main/add-account is login-protected and is redirected to /?referrer=/main/add-account. So /main/add-account is where the user ends up.

How did I fix it?

Changed /main/add-account to /add-account and removed it from the login-protected paths.

How to test it?

Try to add new account.

Review checklist

@slaweet slaweet self-assigned this Feb 5, 2018
@slaweet slaweet force-pushed the 230-fix-login-redirect branch from e277652 to d5465a7 Compare February 5, 2018 18:30
@slaweet slaweet requested a review from ginacontrino February 5, 2018 18:32
Copy link
Contributor

@ginacontrino ginacontrino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

@slaweet slaweet merged commit 0f3dbdc into 0.1.0 Feb 5, 2018
@slaweet slaweet deleted the 230-fix-login-redirect branch February 5, 2018 21:15
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.

2 participants