- Added the magic mystery key wooo
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
const jwt = require('jsonwebtoken')
|
||||
|
||||
const isAuthenticated = (req, res, next) => {
|
||||
if (typeof req.headers.authorization !== undefined) {
|
||||
let token = req.headers.authorization.split(" ")[1]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user