kims work
This commit is contained in:
parent
ba4a47c1aa
commit
6628e57861
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue