Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
adelikat committed Sep 16, 2023
1 parent 93781c2 commit 4c15edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TASVideos/Pages/Profile/ChangePassword.cshtml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public async Task<IActionResult> OnPost()

if (!_userManager.IsPasswordAllowed(user.UserName, user.Email, NewPassword))
{
ModelState.AddModelError(nameof(NewPassword), "This password is not allowed, please ensure your password is sufficiently diffent from your username and/or email");
ModelState.AddModelError(nameof(NewPassword), "This password is not allowed, please ensure your password is sufficiently different from your username and/or email");
}

if (!ModelState.IsValid)
Expand Down

0 comments on commit 4c15edd

Please sign in to comment.