1 write to _userManager
Microsoft.AspNetCore.Identity.UI (1)
Areas\Identity\Pages\V4\Account\Manage\TwoFactorAuthentication.cshtml.cs (1)
71_userManager = userManager;
7 references to _userManager
Microsoft.AspNetCore.Identity.UI (7)
Areas\Identity\Pages\V4\Account\Manage\TwoFactorAuthentication.cshtml.cs (7)
78var user = await _userManager.GetUserAsync(User); 81return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 84HasAuthenticator = await _userManager.GetAuthenticatorKeyAsync(user) != null; 85Is2faEnabled = await _userManager.GetTwoFactorEnabledAsync(user); 87RecoveryCodesLeft = await _userManager.CountRecoveryCodesAsync(user); 94var user = await _userManager.GetUserAsync(User); 97return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");