Skip to content

Commit 9b64219

Browse files
committed
Fixed to not use remember me type
1 parent 223e866 commit 9b64219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Web.Common/Security/UmbracoSignInManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ protected override async Task<SignInResult> SignInOrTwoFactorAsync(TUser user, b
362362
{
363363
// Store the userId for use after two factor check
364364
var userId = await UserManager.GetUserIdAsync(user);
365-
await Context.SignInAsync(TwoFactorRememberMeAuthenticationType, StoreTwoFactorInfo(userId, loginProvider));
365+
await Context.SignInAsync(TwoFactorAuthenticationType, StoreTwoFactorInfo(userId, loginProvider));
366366
return SignInResult.TwoFactorRequired;
367367
}
368368
}

0 commit comments

Comments
 (0)