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

Fixed inactive user forgot password twice in a row #12080

Merged
merged 3 commits into from
Oct 10, 2022

Conversation

nfourtythree
Copy link
Contributor

Description

If you use the reset password functionality twice in a row with an email/username for an inactive user.

The first time the process fails expected. The second time it will succeed due to pending being set to true on the User element.

This PR fixes this issue.

Related issues

craftcms/commerce#2991

@nfourtythree nfourtythree self-assigned this Oct 10, 2022
@nfourtythree nfourtythree requested review from brandonkelly and a team as code owners October 10, 2022 11:21
@brandonkelly brandonkelly merged commit f3fe85a into develop Oct 10, 2022
@brandonkelly brandonkelly deleted the bugfix/inactive-user-forgot-password branch October 11, 2022 16:35
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