Skip to content

Commit

Permalink
docs(security): Cookie of token, the key must be csrfToken (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
jemmyzheng authored and atian25 committed Mar 23, 2017
1 parent 8d73b02 commit 531dadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/zh-cn/core/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ module.exports = {
In jQuery:

```js
var csrftoken = Cookies.get('csrftoken');
var csrftoken = Cookies.get('csrfToken');

function csrfSafeMethod(method) {
// these HTTP methods do not require CSRF protection
Expand Down

0 comments on commit 531dadd

Please sign in to comment.