remove debug line
This commit is contained in:
parent
d6b3f9c219
commit
33d8f6a7c7
|
@ -30,7 +30,6 @@ module.exports = async (ctx, next) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
console.log("YEETY", token, ctx.config.jwtSecret);
|
|
||||||
ctx.jwtPayload = jwt.verify(token, ctx.config.jwtSecret)
|
ctx.jwtPayload = jwt.verify(token, ctx.config.jwtSecret)
|
||||||
ctx.isAuthenticated = true
|
ctx.isAuthenticated = true
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
Loading…
Reference in New Issue