File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -763,22 +763,7 @@ internal async Task<ClaimsPrincipal> StoreRememberClient(TUser user)
763763 }
764764 return new ClaimsPrincipal ( rememberBrowserIdentity ) ;
765765 }
766-
767- private ClaimsIdentity CreateIdentity ( TwoFactorAuthenticationInfo info )
768- {
769- if ( info == null )
770- {
771- return null ;
772- }
773- var identity = new ClaimsIdentity ( IdentityConstants . TwoFactorUserIdScheme ) ;
774- identity . AddClaim ( new Claim ( ClaimTypes . Name , info . UserId ) ) ;
775- if ( info . LoginProvider != null )
776- {
777- identity . AddClaim ( new Claim ( ClaimTypes . AuthenticationMethod , info . LoginProvider ) ) ;
778- }
779- return identity ;
780- }
781-
766+
782767 private async Task < bool > IsTfaEnabled ( TUser user )
783768 => UserManager . SupportsUserTwoFactor &&
784769 await UserManager . GetTwoFactorEnabledAsync ( user ) &&
You can’t perform that action at this time.
0 commit comments