There's no need to check IsLockedOut() anymore as this is already done in PreSignInCheck().

This commit is contained in:
Marco Miltenburg 2016-11-07 23:13:39 +01:00 committed by Hao Kung
parent 4dd38e8ca8
commit bb60afba28
1 changed files with 0 additions and 4 deletions

View File

@ -301,10 +301,6 @@ namespace Microsoft.AspNetCore.Identity
return error; return error;
} }
if (await IsLockedOut(user))
{
return await LockedOut(user);
}
if (await UserManager.CheckPasswordAsync(user, password)) if (await UserManager.CheckPasswordAsync(user, password))
{ {
await ResetLockout(user); await ResetLockout(user);