diff options
| author | Andrew Dolgov <noreply@fakecake.org> | 2020-09-14 20:00:01 +0300 |
|---|---|---|
| committer | Andrew Dolgov <noreply@fakecake.org> | 2020-09-14 20:00:01 +0300 |
| commit | b4cb67e77f3b228c007f58caac234cae1afabe73 (patch) | |
| tree | 57b1e6fe915cf2a2ce01ecc076d085cb16c22f08 /index.php | |
| parent | c3d14e1fa54c7dade7b1b7955575e2991396d7ef (diff) | |
remove csrf token from rpc method sanityCheck
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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"> |