mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-11 20:28:14 +00:00
Other name for CSRF token in html and JS.
This commit is contained in:
2
public/js/ff/firefly.js
vendored
2
public/js/ff/firefly.js
vendored
@@ -32,7 +32,7 @@ $(function () {
|
||||
|
||||
$.ajaxSetup({
|
||||
headers: {
|
||||
'X-CSRF-Token': $('meta[name="_token"]').attr('content')
|
||||
'X-CSRF-Token': $('meta[name="csrf-token"]').attr('content')
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user