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

UserManager has RemovePasswordAsync method which call UpdatePasswordH… #34

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

Conversation

Pavlo-0
Copy link

@Pavlo-0 Pavlo-0 commented Mar 6, 2021

…ash with an empty password. So SetPasswordHashAsync should support empty password hash


[03:01:38 Error] Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware
An unhandled exception has occurred while executing the request.
System.ArgumentNullException: Value cannot be null. (Parameter 'passwordHash')
at AspNetCore.Identity.DocumentDb.Stores.DocumentDbUserStore2.SetPasswordHashAsync(TUser user, String passwordHash, CancellationToken cancellationToken) in E:\projects\IELTS Write trenning\ieltsPractise-identity-microservice\AspNetCore.Identity.DocumentDb\Stores\DocumentDbUserStore.cs:line 578 at Microsoft.AspNetCore.Identity.UserManager1.UpdatePasswordHash(IUserPasswordStore1 passwordStore, TUser user, String newPassword, Boolean validatePassword) at Microsoft.AspNetCore.Identity.UserManager1.RemovePasswordAsync(TUser user)

…ash with empty password. So SetPasswordHashAsync should support empty password hash
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.

None yet

1 participant