Browse Source

fix: remove console log from authenticate func

NGPixel 5 năm trước cách đây
mục cha
commit
c37b0ad1d7
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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)