diff --git a/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Login.cshtml.cs b/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Login.cshtml.cs index 4de08796bd..aa168344a5 100644 --- a/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Login.cshtml.cs +++ b/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Login.cshtml.cs @@ -113,11 +113,6 @@ namespace Volo.Abp.Account.Web.Pages.Account return Page(); } - if (result.RequiresTwoFactor) - { - return RedirectToPage("./SendSecurityCode"); - } - if (result.IsNotAllowed) { Alerts.Warning(L["LoginIsNotAllowed"]);