change login failure status code
This commit is contained in:
parent
a57515c33e
commit
65ba3a6435
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ public class AuthController(
|
|||
);
|
||||
|
||||
if (user is null)
|
||||
return Forbid();
|
||||
return this.BadRequest();
|
||||
|
||||
var session = await authService.CreateStrongSession(user.Id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue