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