AspNetCore.Identity.DocumentDb
AspNetCore.Identity.DocumentDb copied to clipboard
UserManager has RemovePasswordAsync method which call UpdatePasswordH…
…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.UserManager
1.UpdatePasswordHash(IUserPasswordStore1 passwordStore, TUser user, String newPassword, Boolean validatePassword) at Microsoft.AspNetCore.Identity.UserManager
1.RemovePasswordAsync(TUser user)