From 4463ea64355ad861ef8344f32527003b42a8276a Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Tue, 27 Jun 2023 17:32:32 +0800 Subject: [PATCH] if it is an external login using an external schema to sign --- .../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 316323a5cd..f9489f7797 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 @@ -144,7 +144,7 @@ public class RegisterModel : AccountPageModel ))).CheckErrors(); } - await SignInManager.SignInAsync(user, isPersistent: true); + await SignInManager.SignInAsync(user, isPersistent: true, ExternalLoginAuthSchema); } protected virtual async Task CheckSelfRegistrationAsync()