Skip to content

Commit

Permalink
Merge pull request #19750 from abpframework/IdentityOptions.SetAsync
Browse files Browse the repository at this point in the history
`SetAsync` identity options before using `SignInManager`.
  • Loading branch information
realLiangshiwei authored May 9, 2024
2 parents 6a24cec + 8cadaa7 commit ac716a2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ public virtual async Task<AbpLoginResult> Login(UserLoginInfo login)
ValidateLoginInfo(login);

await ReplaceEmailToUsernameOfInputIfNeeds(login);

await IdentityOptions.SetAsync();

var signInResult = await SignInManager.PasswordSignInAsync(
login.UserNameOrEmailAddress,
login.Password,
Expand Down

0 comments on commit ac716a2

Please sign in to comment.