csrf-monkey
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "csrf-monkey", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Automatically add CSRF headers to all clientside requests", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -52,3 +52,3 @@ [![Travis CI](https://travis-ci.org/alanclarke/csrf-monkey.svg?branch=master)](https://travis-ci.org/alanclarke/csrf-monkey) | ||
// and you can pass your csrf token value directly to csrf-monkey if you don't want to include it as a meta tag: | ||
csrfMonkey('my-custom-csrf-header', 'my-csrf-token') | ||
csrfMonkey(null, 'my-csrf-token') | ||
@@ -55,0 +55,0 @@ ``` |
17387