diff --git a/src/AspNetCore.Identity.DocumentDb/Stores/DocumentDbUserStore.cs b/src/AspNetCore.Identity.DocumentDb/Stores/DocumentDbUserStore.cs index 91920fb..64423d2 100644 --- a/src/AspNetCore.Identity.DocumentDb/Stores/DocumentDbUserStore.cs +++ b/src/AspNetCore.Identity.DocumentDb/Stores/DocumentDbUserStore.cs @@ -570,11 +570,6 @@ public Task SetPasswordHashAsync(TUser user, string passwordHash, CancellationTo throw new ArgumentNullException(nameof(user)); } - if (passwordHash == null) - { - throw new ArgumentNullException(nameof(passwordHash)); - } - user.PasswordHash = passwordHash; return Task.CompletedTask;