summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-09-14 20:00:01 +0300
committerAndrew Dolgov <[email protected]>2020-09-14 20:00:01 +0300
commitb4cb67e77f3b228c007f58caac234cae1afabe73 (patch)
tree57b1e6fe915cf2a2ce01ecc076d085cb16c22f08 /js
parentc3d14e1fa54c7dade7b1b7955575e2991396d7ef (diff)
remove csrf token from rpc method sanityCheck
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();