Update Register.cshtml.cs

pull/17409/head
liangshiwei 2 years ago
parent 22c72c51e5
commit 019144e746

@ -62,7 +62,7 @@ public class RegisterModel : AccountPageModel
if (!await CheckSelfRegistrationAsync())
{
if (!IsExternalLogin && IsExternalLoginOnly)
if (IsExternalLoginOnly)
{
return await OnPostExternalLogin(ExternalLoginScheme);
}

Loading…
Cancel
Save