Explorar o código

fix: remove console log from authenticate func

NGPixel %!s(int64=5) %!d(string=hai) anos
pai
achega
c37b0ad1d7
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      server/core/auth.js

+ 0 - 1
server/core/auth.js

@@ -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)