AspNetCore.Identity.DocumentDb icon indicating copy to clipboard operation
AspNetCore.Identity.DocumentDb copied to clipboard

UserManager has RemovePasswordAsync method which call UpdatePasswordH…

Open Pavlo-0 opened this issue 3 years ago • 0 comments

…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)

Pavlo-0 avatar Mar 06 '21 01:03 Pavlo-0