From 7055713d4bfb2a39abdd77aaeefd9b943cbf8eac Mon Sep 17 00:00:00 2001 From: Talon Date: Sat, 24 Aug 2024 00:00:56 +0200 Subject: [PATCH] Stop logging key check in auth middleware --- backend/src/middleware/auth.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/middleware/auth.ts b/backend/src/middleware/auth.ts index cde10fe..e5ac86f 100644 --- a/backend/src/middleware/auth.ts +++ b/backend/src/middleware/auth.ts @@ -4,7 +4,6 @@ import { logger } from "../globals"; export const authenticate = (req: Request, res: Response, next: NextFunction) => { const token = req.headers['authorization']; - logger.info(`Checking ${SECRET_KEY} against ${token}`); if (!token) { return res.status(403).json({ error: 'No token provided' }); }