Add csrf checking for cookie posts, fix file hotlinking

This commit is contained in:
Jonathan Cremin 2015-08-10 11:44:47 +01:00
parent 9ccf3d855e
commit b9c6598250
7 changed files with 27 additions and 16 deletions

View file

@ -38,6 +38,7 @@
"koa": "~0.21.0",
"koa-bodyparser": "~2.0.0",
"koa-compress": "~1.0.8",
"koa-csrf": "^2.3.0",
"koa-favicon": "~1.2.0",
"koa-file-server": "~2.3.1",
"koa-generic-session": "~1.9.0",