Browse Source

remove csrf

ryuichi-e 5 năm trước cách đây
mục cha
commit
39096b61ce
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/server/routes/apiv3/bookmarks.js

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

@@ -105,7 +105,7 @@ module.exports = (crowi) => {
 
   // select page from bookmark where userid = userid
 
-  router.get('/:userId', accessTokenParser, loginRequired, csrf, apiV3FormValidator, async(req, res) => {
+  router.get('/:userId', accessTokenParser, loginRequired, apiV3FormValidator, async(req, res) => {
     const { userId } = req.params;
     try {
       const bookmarks = await Bookmark