mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-21 16:52:04 -07:00
fix(jwt): A little more jwt debugging
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user