From 6f871ed4af9c6869363047fe78289af445ccf5ad Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Thu, 27 Jun 2019 10:00:03 +0300 Subject: [PATCH] Fix: Duplicate SignInResult.RequiresTwoFactor check code --- .../Pages/Account/IdentityServerSupportedLoginModel.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/account/src/Volo.Abp.Account.Web.IdentityServer/Pages/Account/IdentityServerSupportedLoginModel.cs b/modules/account/src/Volo.Abp.Account.Web.IdentityServer/Pages/Account/IdentityServerSupportedLoginModel.cs index 1ed1fda49f..666bcfadf0 100644 --- a/modules/account/src/Volo.Abp.Account.Web.IdentityServer/Pages/Account/IdentityServerSupportedLoginModel.cs +++ b/modules/account/src/Volo.Abp.Account.Web.IdentityServer/Pages/Account/IdentityServerSupportedLoginModel.cs @@ -154,11 +154,6 @@ namespace Volo.Abp.Account.Web.Pages.Account return Page(); } - if (result.RequiresTwoFactor) - { - return RedirectToPage("./SendSecurityCode"); - } - if (result.IsNotAllowed) { Alerts.Warning(L["LoginIsNotAllowed"]);