From bf9b0ec8d0ee64fafa7f9884e05ad2e96642d16f Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sat, 26 Aug 2023 00:42:38 +0100 Subject: [PATCH] Adjust log-level for auth middleware Signed-off-by: Fred Boniface --- src/middlewares/auth.middlewares.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middlewares/auth.middlewares.js b/src/middlewares/auth.middlewares.js index 427fd41..dd17029 100644 --- a/src/middlewares/auth.middlewares.js +++ b/src/middlewares/auth.middlewares.js @@ -14,7 +14,7 @@ module.exports = async function authCheck(req, res, next) { var result = (await utils.isAuthed(uuid)) || false; if (!result) { req.isAuthed = false; - log.out("authMiddlewares: User !isAuthed", "warn"); + log.out("authMiddlewares: User !isAuthed", "dbug"); } else { req.isAuthed = true; log.out("authMiddlewares: User isAuthed", "dbug");