From bb60afba28d7775e610afafd85cce810c9200374 Mon Sep 17 00:00:00 2001 From: Marco Miltenburg Date: Mon, 7 Nov 2016 23:13:39 +0100 Subject: [PATCH] There's no need to check IsLockedOut() anymore as this is already done in PreSignInCheck(). --- src/Microsoft.AspNetCore.Identity/SignInManager.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Microsoft.AspNetCore.Identity/SignInManager.cs b/src/Microsoft.AspNetCore.Identity/SignInManager.cs index f959ea22c2..8c278eb972 100644 --- a/src/Microsoft.AspNetCore.Identity/SignInManager.cs +++ b/src/Microsoft.AspNetCore.Identity/SignInManager.cs @@ -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);