1 write to _userManager
Microsoft.AspNetCore.Identity.UI (1)
Areas\Identity\Pages\V4\Account\Manage\ChangePassword.cshtml.cs (1)
91
_userManager
= userManager;
6 references to _userManager
Microsoft.AspNetCore.Identity.UI (6)
Areas\Identity\Pages\V4\Account\Manage\ChangePassword.cshtml.cs (6)
98
var user = await
_userManager
.GetUserAsync(User);
101
return NotFound($"Unable to load user with ID '{
_userManager
.GetUserId(User)}'.");
104
var hasPassword = await
_userManager
.HasPasswordAsync(user);
120
var user = await
_userManager
.GetUserAsync(User);
123
return NotFound($"Unable to load user with ID '{
_userManager
.GetUserId(User)}'.");
126
var changePasswordResult = await
_userManager
.ChangePasswordAsync(user, Input.OldPassword, Input.NewPassword);