gitea/routers/api/v1
zeripath 7096085f2b Fix #5226 by adding CSRF checking to api reqToken and add CSRF to the POST header for deadline (#5250)
* Add CSRF checking to reqToken and place CSRF in the post for deadline creation

Fixes #5226, #5249

* /api/v1/admin/users routes should have reqToken middleware
2018-11-03 21:15:55 -04:00
..
admin Fix Swagger JSON autogeneration issues. (#4845) 2018-10-20 23:40:42 -04:00
convert Keys API changes (#4960) 2018-10-31 23:40:49 -04:00
misc Swagger.v1.json template (#3572) 2018-07-28 03:19:01 +03:00
org Fix Swagger JSON autogeneration issues. (#4845) 2018-10-20 23:40:42 -04:00
repo Keys API changes (#4960) 2018-10-31 23:40:49 -04:00
swagger User action heatmap (#5131) 2018-10-23 10:57:42 +08:00
user Keys API changes (#4960) 2018-10-31 23:40:49 -04:00
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 2018-09-10 10:31:08 -04:00
api.go Fix #5226 by adding CSRF checking to api reqToken and add CSRF to the POST header for deadline (#5250) 2018-11-03 21:15:55 -04:00