change login failure status code

This commit is contained in:
john 2025-06-15 19:14:49 +02:00
parent a57515c33e
commit 65ba3a6435

View file

@ -35,7 +35,7 @@ public class AuthController(
); );
if (user is null) if (user is null)
return Forbid(); return this.BadRequest();
var session = await authService.CreateStrongSession(user.Id); var session = await authService.CreateStrongSession(user.Id);