1 write to _userManager
Microsoft.AspNetCore.Identity.UI (1)
Areas\Identity\Pages\V4\Account\Manage\DeletePersonalData.cshtml.cs (1)
70
_userManager
= userManager;
9 references to _userManager
Microsoft.AspNetCore.Identity.UI (9)
Areas\Identity\Pages\V4\Account\Manage\DeletePersonalData.cshtml.cs (9)
77
var user = await
_userManager
.GetUserAsync(User);
80
return NotFound($"Unable to load user with ID '{
_userManager
.GetUserId(User)}'.");
83
RequirePassword = await
_userManager
.HasPasswordAsync(user);
89
var user = await
_userManager
.GetUserAsync(User);
92
return NotFound($"Unable to load user with ID '{
_userManager
.GetUserId(User)}'.");
95
RequirePassword = await
_userManager
.HasPasswordAsync(user);
98
if (!await
_userManager
.CheckPasswordAsync(user, Input.Password))
105
var result = await
_userManager
.DeleteAsync(user);
106
await
_userManager
.GetUserIdAsync(user);