diff --git a/apps/server/src/services/auth.ts b/apps/server/src/services/auth.ts index df18fba49..8b56f1e5f 100644 --- a/apps/server/src/services/auth.ts +++ b/apps/server/src/services/auth.ts @@ -159,6 +159,7 @@ function checkCredentials(req: Request, res: Response, next: NextFunction) { if (!passwordEncryptionService.verifyPassword(password)) { res.setHeader("Content-Type", "text/plain").status(401).send("Incorrect password"); + log.info(`WARNING: Wrong password from ${req.ip}, rejecting.`); } else { next(); }