|
|
@@ -248,7 +248,7 @@ module.exports = (crowi) => {
|
|
|
* 200:
|
|
|
* description: Succeeded to update access token for slack
|
|
|
*/
|
|
|
- router.put('/access-tokens', loginRequiredStrictly, adminRequired, csrf, async(req, res) => {
|
|
|
+ router.put('/access-tokens', /* loginRequiredStrictly, adminRequired, csrf, */ async(req, res) => {
|
|
|
// TODO imple generate tokens at GW-5859. The following req.body is temporary.
|
|
|
let { tokenGtoP, tokenPtoG } = req.body;
|
|
|
let seachExistTokens = await SlackAppIntegration.findOne({ tokenGtoP }, { tokenPtoG });
|