remove reference to HttpContext as it is not used

This commit is contained in:
sbwalker
2024-09-02 11:08:25 -04:00
parent 9620c5a98f
commit 8b1f95c743
2 changed files with 1 additions and 4 deletions

View File

@ -474,6 +474,7 @@ namespace Oqtane.Managers
IdentityUser identityuser = await _identityUserManager.FindByNameAsync(user.Username);
if (identityuser != null && !string.IsNullOrEmpty(token))
{
// note that ResetPasswordAsync checks password complexity rules
var result = await _identityUserManager.ResetPasswordAsync(identityuser, token, user.Password);
if (result.Succeeded)
{