There's no need to check IsLockedOut() anymore as this is already done in PreSignInCheck().
This commit is contained in:
parent
4dd38e8ca8
commit
bb60afba28
|
|
@ -301,10 +301,6 @@ namespace Microsoft.AspNetCore.Identity
|
|||
return error;
|
||||
}
|
||||
|
||||
if (await IsLockedOut(user))
|
||||
{
|
||||
return await LockedOut(user);
|
||||
}
|
||||
if (await UserManager.CheckPasswordAsync(user, password))
|
||||
{
|
||||
await ResetLockout(user);
|
||||
|
|
|
|||
Loading…
Reference in New Issue