Commit c37b0ad1 authored by NGPixel's avatar NGPixel

fix: remove console log from authenticate func

parent a25431bc
......@@ -133,7 +133,6 @@ module.exports = {
// Revalidate and renew token
if (mustRevalidate) {
console.info('MUST REVALIDATE')
const jwtPayload = jwt.decode(securityHelper.extractJWT(req))
try {
const newToken = await WIKI.models.users.refreshToken(jwtPayload.id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment