Other name for CSRF token in html and JS.

This commit is contained in:
James Cole
2018-02-01 19:39:55 +01:00
parent 1e2c979341
commit d81c99bcda
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ $(function () {
$.ajaxSetup({
headers: {
'X-CSRF-Token': $('meta[name="_token"]').attr('content')
'X-CSRF-Token': $('meta[name="csrf-token"]').attr('content')
}
});