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)
98var user = await _userManager.GetUserAsync(User); 101return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 104var hasPassword = await _userManager.HasPasswordAsync(user); 120var user = await _userManager.GetUserAsync(User); 123return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 126var changePasswordResult = await _userManager.ChangePasswordAsync(user, Input.OldPassword, Input.NewPassword);