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

Enhance ResetPasswordAsync & ChangePasswordAsync to detect and repair accidental guest role assignments #1226

Open
Michael-Herzog opened this issue Dec 13, 2024 · 0 comments
Assignees
Milestone

Comments

@Michael-Herzog
Copy link
Contributor

Original problem: Registered customers lose the registered role and get the guest role.

Fix it with: If the UserManager.ResetPasswordAsync or UserManager.ChangePasswordAsync methods were successful in the IdentityController and email or username are available, then you can assume that it is a registered account and, if necessary, remove an incorrectly assigned guest role and assign the registered role.

@Michael-Herzog Michael-Herzog self-assigned this Dec 13, 2024
@Michael-Herzog Michael-Herzog added this to the 6.0.1 milestone Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant