summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.php b/index.php
index 543d2b008..21f727cb3 100644
--- a/index.php
+++ b/index.php
@@ -47,6 +47,10 @@
}
?>
+ <script type="text/javascript">
+ const __csrf_token = "<?php echo $_SESSION["csrf_token"]; ?>";
+ </script>
+
<?php print_user_stylesheet() ?>
<style type="text/css">