fix: remove console log from authenticate func
This commit is contained in:
parent
a25431bcf8
commit
c37b0ad1d7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user