fix: fix typos

This commit is contained in:
Stavros
2026-05-09 13:42:44 +03:00
parent 886f9a84d6
commit 02b48aa165
7 changed files with 12 additions and 18 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ func (controller *UserController) loginHandler(c *gin.Context) {
if errors.Is(err, service.ErrUserNotFound) {
controller.log.App.Warn().Str("username", req.Username).Msg("User not found during login attempt")
controller.auth.RecordLoginAttempt(req.Username, false)
controller.log.AuditLoginFailure(req.Username, "unkown", c.ClientIP(), "user not found")
controller.log.AuditLoginFailure(req.Username, "unknown", c.ClientIP(), "user not found")
c.JSON(401, gin.H{
"status": 401,
"message": "Unauthorized",