Merge pull request #156 from Permissionless-Software-Foundation/ct-unstable

fix(jwt): A little more jwt debugging
This commit is contained in:
Chris Troutner
2021-08-07 12:16:21 -07:00
committed by GitHub
+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) {