Shun Miyazawa 5 년 전
부모
커밋
029aa8457b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/server/routes/apiv3/users.js

+ 1 - 1
src/server/routes/apiv3/users.js

@@ -845,7 +845,7 @@ module.exports = (crowi) => {
    *                      type: object
    *                      description: email and easons for email sending failure
    */
-  router.put('/send-invitation-email', async(req, res) => {
+  router.put('/send-invitation-email', loginRequiredStrictly, adminRequired, csrf, async(req, res) => {
     const { id } = req.body;
 
     try {