Release v1.0.0 #16

Merged
Wesser merged 492 commits from release/v1.0.0 into master 2025-02-12 09:19:32 +03:00
270 changed files with 13635 additions and 98 deletions
Showing only changes of commit 95627003e5 - Show all commits

View File

@ -43,7 +43,7 @@ public class AuthController(IOptionsSnapshot<Admin> user, AuthService auth, Pass
if (!userEntity.Username.Equals(request.Username, StringComparison.OrdinalIgnoreCase) &&
!userEntity.Email.Equals(request.Username, StringComparison.OrdinalIgnoreCase))
return BadRequest("Invalid username/email or password");
return Unauthorized("Authentication failed. Please check your credentials.");
var tokenResult = await auth.LoginAsync(
GetCookieParams(),