From 2fc175d818df1432144b13ce0a6d24bd687f5894 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sat, 7 Aug 2021 12:13:57 -0700 Subject: [PATCH] fix(jwt): A little more jwt debugging --- src/middleware/jwt-auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middleware/jwt-auth.js b/src/middleware/jwt-auth.js index 180a743..4977998 100644 --- a/src/middleware/jwt-auth.js +++ b/src/middleware/jwt-auth.js @@ -21,7 +21,7 @@ const getTokenFromHeaders = (req, res, next) => { if (authStr.split(' ')[0] === 'Token') { const token = authStr.split(' ')[1] - // console.log(`JWT found: ${token}`) + console.log(`JWT found: ${token}`) // Create the req.locals property if it does not yet exist. if (!req.locals) {