Shun Miyazawa 4 lat temu
rodzic
commit
029aa8457b
1 zmienionych plików z 1 dodań i 1 usunięć
  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 {