1 write to _userManager
Microsoft.AspNetCore.Identity.UI (1)
Areas\Identity\Pages\V5\Account\Manage\ResetAuthenticator.cshtml.cs (1)
48
_userManager
= userManager;
7 references to _userManager
Microsoft.AspNetCore.Identity.UI (7)
Areas\Identity\Pages\V5\Account\Manage\ResetAuthenticator.cshtml.cs (7)
55
var user = await
_userManager
.GetUserAsync(User);
58
return NotFound($"Unable to load user with ID '{
_userManager
.GetUserId(User)}'.");
66
var user = await
_userManager
.GetUserAsync(User);
69
return NotFound($"Unable to load user with ID '{
_userManager
.GetUserId(User)}'.");
72
await
_userManager
.SetTwoFactorEnabledAsync(user, false);
73
await
_userManager
.ResetAuthenticatorKeyAsync(user);
74
await
_userManager
.GetUserIdAsync(user);