From 019144e746d7fe72c8a5ca26f64242bb2107c426 Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Fri, 18 Aug 2023 20:20:39 +0800 Subject: [PATCH] Update Register.cshtml.cs --- .../src/Volo.Abp.Account.Web/Pages/Account/Register.cshtml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Register.cshtml.cs b/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Register.cshtml.cs index 1b1a02d201..7bc536ba9d 100644 --- a/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Register.cshtml.cs +++ b/modules/account/src/Volo.Abp.Account.Web/Pages/Account/Register.cshtml.cs @@ -62,7 +62,7 @@ public class RegisterModel : AccountPageModel if (!await CheckSelfRegistrationAsync()) { - if (!IsExternalLogin && IsExternalLoginOnly) + if (IsExternalLoginOnly) { return await OnPostExternalLogin(ExternalLoginScheme); }