Skip to content
This repository was archived by the owner on Dec 26, 2025. It is now read-only.

UserManager has RemovePasswordAsync method which call UpdatePasswordH…#34

Open
Pavlo-0 wants to merge 1 commit intocodekoenig:masterfrom
Pavlo-0:master
Open

UserManager has RemovePasswordAsync method which call UpdatePasswordH…#34
Pavlo-0 wants to merge 1 commit intocodekoenig:masterfrom
Pavlo-0:master

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant