Skip to content

Commit

Permalink
fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jul 11, 2016
1 parent dcbe49a commit b5e7d71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions csrf.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ In addition to checking for the CSRF token as a POST parameter, the `VerifyCsrfT
Then, once you have created the `meta` tag, you can instruct a library like jQuery to automatically add the token to all request headers. This provides simple, convenient CSRF protection for your AJAX based applications:

$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});

<a name="csrf-x-xsrf-token"></a>
Expand Down

0 comments on commit b5e7d71

Please sign in to comment.