kims work

This commit is contained in:
Sina Blattmann 2023-07-06 11:16:00 +02:00
parent ba4a47c1aa
commit 6628e57861
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ public class Controller : ControllerBase
throw new Exceptions(400,"Null User Exception", "Must provide a user to log in as.", Request.Path.Value!);
}
if (!(user.Password is null && user.MustResetPassword))
if (!(user.Password.IsNullOrEmpty() && user.MustResetPassword))
{
if (!user.VerifyPassword(password))
{