mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-03 11:08:28 +00:00
Include CSRF token for Sandstorm.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
* See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
/** global: Tour, showTour, accountFrontpageUri, billCount, accountExpenseUri, accountRevenueUri */
|
||||
/** global: Tour, showTour, accountFrontpageUri, token, billCount, accountExpenseUri, accountRevenueUri */
|
||||
|
||||
$(function () {
|
||||
"use strict";
|
||||
@@ -34,7 +34,7 @@ $(function () {
|
||||
|
||||
function endTheTour() {
|
||||
"use strict";
|
||||
$.post('json/end-tour');
|
||||
$.post('json/end-tour', {_token: token});
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user