소스 검색

remove csrf

ryuichi-e 5 년 전
부모
커밋
39096b61ce
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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