remove debug line
This commit is contained in:
parent
815a539863
commit
e83816df1c
|
@ -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