Browse Source

BugFix for verifyAccessTokenFromProxy

Yuki Takei 5 years ago
parent
commit
9eff81d315
1 changed files with 2 additions and 0 deletions
  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) => {