diff --git a/modules/account/src/Volo.Abp.Account.Web/Areas/Account/Controllers/AccountController.cs b/modules/account/src/Volo.Abp.Account.Web/Areas/Account/Controllers/AccountController.cs index fbac7129c2..6ab60e7ee4 100644 --- a/modules/account/src/Volo.Abp.Account.Web/Areas/Account/Controllers/AccountController.cs +++ b/modules/account/src/Volo.Abp.Account.Web/Areas/Account/Controllers/AccountController.cs @@ -59,6 +59,9 @@ public class AccountController : AbpControllerBase ValidateLoginInfo(login); await ReplaceEmailToUsernameOfInputIfNeeds(login); + + await IdentityOptions.SetAsync(); + var signInResult = await SignInManager.PasswordSignInAsync( login.UserNameOrEmailAddress, login.Password,