1 write to _userManager
Microsoft.AspNetCore.Identity.UI (1)
Areas\Identity\Pages\V4\Account\Manage\SetPassword.cshtml.cs (1)
79
_userManager
= userManager;
6 references to _userManager
Microsoft.AspNetCore.Identity.UI (6)
Areas\Identity\Pages\V4\Account\Manage\SetPassword.cshtml.cs (6)
85
var user = await
_userManager
.GetUserAsync(User);
88
return NotFound($"Unable to load user with ID '{
_userManager
.GetUserId(User)}'.");
91
var hasPassword = await
_userManager
.HasPasswordAsync(user);
108
var user = await
_userManager
.GetUserAsync(User);
111
return NotFound($"Unable to load user with ID '{
_userManager
.GetUserId(User)}'.");
114
var addPasswordResult = await
_userManager
.AddPasswordAsync(user, Input.NewPassword);