Fix: Duplicate SignInResult.RequiresTwoFactor check code

pull/1394/head
Yunus Emre Kalkan 6 years ago
parent 695cea7eb1
commit 6f871ed4af

@ -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