summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/App.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/App.js b/js/App.js
index 0e1473557..7eb4b7f48 100644
--- a/js/App.js
+++ b/js/App.js
@@ -576,6 +576,8 @@ const App = {
this.is_prefs = is_prefs;
window.onerror = this.Error.onWindowError;
+ this.setInitParam("csrf_token", __csrf_token);
+
this.setupNightModeDetection(() => {
parser.parse();