mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-03 19:16:51 +00:00
Include CSRF token for Sandstorm.
This commit is contained in:
@@ -66,9 +66,9 @@ const pkgdef :Spk.PackageDefinition = (
|
||||
# Sizes are given in device-independent pixels, so if you took these
|
||||
# screenshots on a Retina-style high DPI screen, divide each dimension by two.
|
||||
|
||||
(width = 1200, height = 1000, png = embed "screenshot-1.png"),
|
||||
(width = 1200, height = 1000, png = embed "screenshot-2.png"),
|
||||
(width = 1200, height = 1518, png = embed "screenshot-3.png"),
|
||||
(width = 1200, height = 1000, png = embed "screenshots/screenshot-1.png"),
|
||||
(width = 1200, height = 1000, png = embed "screenshots/screenshot-2.png"),
|
||||
(width = 1200, height = 1518, png = embed "screenshots/screenshot-3.png"),
|
||||
|
||||
],
|
||||
changeLog = (defaultText = embed "changelog.md"),
|
||||
|
BIN
.sandstorm/screenshots/screenshot-1.png
Normal file
BIN
.sandstorm/screenshots/screenshot-1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 177 KiB |
BIN
.sandstorm/screenshots/screenshot-2.png
Normal file
BIN
.sandstorm/screenshots/screenshot-2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 222 KiB |
BIN
.sandstorm/screenshots/screenshot-3.png
Normal file
BIN
.sandstorm/screenshots/screenshot-3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 280 KiB |
@@ -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});
|
||||
|
||||
}
|
||||
|
||||
|
@@ -27,3 +27,4 @@ var noDataForChart = '{{ trans('firefly.no_data_for_chart')|escape }}';
|
||||
var showFullList = '{{ trans('firefly.show_full_list') }}';
|
||||
var showOnlyTop = '{{ trans('firefly.show_only_top',{number:listLength}) }}';
|
||||
var accountingConfig = {{ accounting|json_encode|raw }};
|
||||
var token = '{{ csrf_token() }}';
|
Reference in New Issue
Block a user