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)
78
var user = await
_userManager
.GetUserAsync(User);
81
return NotFound($"Unable to load user with ID '{
_userManager
.GetUserId(User)}'.");
84
HasAuthenticator = await
_userManager
.GetAuthenticatorKeyAsync(user) != null;
85
Is2faEnabled = await
_userManager
.GetTwoFactorEnabledAsync(user);
87
RecoveryCodesLeft = await
_userManager
.CountRecoveryCodesAsync(user);
94
var user = await
_userManager
.GetUserAsync(User);
97
return NotFound($"Unable to load user with ID '{
_userManager
.GetUserId(User)}'.");