JedWatson/keystone — pull request #263 by metasansana (2014-03-27 12:53:28+00:00)
Title: Add csrf protection

Hello Jed,

So I started to use keystone as the admin interface for a project I'm working on and I flipped on the express csrf protection middleware and it broke. :(

So I edited some of the admin templates and the routes/views/*.js files to include a csrf token variable in forms under the name _csrf.

I would be happy to get your feedback on this. :)