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: change password redirects to login page on success #130

Merged
merged 1 commit into from
Mar 2, 2020

Conversation

Sebastian-Haehnlein
Copy link
Contributor

PR Type

[x] Bugfix

What Is the Current Behavior?

change password (forgot password) open login dialog on success

What Is the New Behavior?

change password (forgot password) redirects to login page on success

Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No

Other Information

@Sebastian-Haehnlein Sebastian-Haehnlein added the bug Something isn't working label Feb 26, 2020
@Sebastian-Haehnlein Sebastian-Haehnlein added this to the 0.18 milestone Feb 26, 2020
@Sebastian-Haehnlein Sebastian-Haehnlein self-assigned this Feb 26, 2020
@Sebastian-Haehnlein Sebastian-Haehnlein force-pushed the bugfix/forgot-password-to-login-page branch from 89bac71 to 16e00e7 Compare February 26, 2020 15:29
@dhhyi dhhyi self-requested a review February 26, 2020 18:49
Copy link
Collaborator

@dhhyi dhhyi left a comment

Choose a reason for hiding this comment

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

This might fix the behavior but it doesn't repair the original cause. I think it is the ofRoute('login') in user.effects, that's no longer reached with the login modal. So please have another go at it 😉

dhhyi
dhhyi previously approved these changes Feb 27, 2020
@dhhyi
Copy link
Collaborator

dhhyi commented Feb 27, 2020

This might fix the behavior but it doesn't repair the original cause. I think it is the ofRoute('login') in user.effects, that's no longer reached with the login modal. So please have another go at it 😉

Wow, I was under the impression that the password change already logs in the customer, which in my mind would be the only logical thing to do. Turns out I was wrong. So yeah, you're right with the suggested solution. 😅 👍

dhhyi
dhhyi previously approved these changes Feb 28, 2020
@shauke shauke merged commit ebf8379 into develop Mar 2, 2020
@shauke shauke deleted the bugfix/forgot-password-to-login-page branch March 2, 2020 10:12
cbratsch pushed a commit that referenced this pull request Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants