Преглед изворни кода

BugFix for verifyAccessTokenFromProxy

Yuki Takei пре 5 година
родитељ
комит
9eff81d315
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      src/server/routes/apiv3/slack-integration.js

+ 2 - 0
src/server/routes/apiv3/slack-integration.js

@@ -27,6 +27,8 @@ module.exports = (crowi) => {
     if (tokenPtoG == null || tokenPtoG !== correctToken) {
       return res.status(403).send({ message: 'The access token that identifies the request source is slackbot-proxy is invalid.' });
     }
+
+    next();
   }
 
   const addSigningSecretToReq = (req, res, next) => {