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"]);