From 01f4f642568ed63477faf765719ec31d9d623d26 Mon Sep 17 00:00:00 2001 From: Galip Tolga Erdem Date: Sat, 22 May 2021 02:06:05 +0300 Subject: [PATCH] removed comments --- .../src/Volo.Abp.Account.Web/Pages/Account/Login.cshtml.cs | 3 --- 1 file changed, 3 deletions(-) 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 004df26348..26881d9e5f 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 @@ -213,16 +213,13 @@ namespace Volo.Abp.Account.Web.Pages.Account if (result.IsLockedOut) { - // throw new UserFriendlyException("Cannot proceed because user is locked out!"); Logger.LogWarning($"Cannot proceed because user is locked out!"); return RedirectToPage("./LockedOut"); } if (result.IsNotAllowed) { - // throw new UserFriendlyException("External login callback error: User is Not Allowed!"); Logger.LogWarning($"External login callback error: User is Not Allowed!"); - // Returns a view informing the user about the locked account return RedirectToPage("./LockedOut"); }