Browse Source

Fix: Duplicate SignInResult.RequiresTwoFactor check code

pull/1394/head
Yunus Emre Kalkan 7 years ago
parent
commit
6f871ed4af
  1. 5
      modules/account/src/Volo.Abp.Account.Web.IdentityServer/Pages/Account/IdentityServerSupportedLoginModel.cs

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

Loading…
Cancel
Save