fix(jwt): A little more jwt debugging

This commit is contained in:
Chris Troutner
2021-08-07 12:14:09 -07:00
parent 9a01f5ffe6
commit 2fc175d818
+1 -1
View File
@@ -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) {