aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/layouts/default.html
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2022-12-20 16:58:42 +0300
committerGravatar Vitaly Takmazov2022-12-20 16:58:42 +0300
commit1d1924a5c85775721a89378ca39a712f336b8f74 (patch)
tree8edf5478e0bccb15b69288766fe1efc9e02e5218 /src/main/resources/templates/layouts/default.html
parentf0e10dc93f400e8ba979760a1c7af9d6e53cd1ef (diff)
Disable CSRF entirely
Diffstat (limited to 'src/main/resources/templates/layouts/default.html')
-rw-r--r--src/main/resources/templates/layouts/default.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/templates/layouts/default.html b/src/main/resources/templates/layouts/default.html
index 9167dbfb..55c7e8b1 100644
--- a/src/main/resources/templates/layouts/default.html
+++ b/src/main/resources/templates/layouts/default.html
@@ -35,7 +35,7 @@
<link rel="manifest" href="//i.juick.com/manifest.json" />
</head>
-<body id="body" {% if visitor.uid > 0 %}data-hash="{{visitor.authHash}}" {% else %}data-token="{{_csrf.token}}" {% endif %}>
+<body id="body" {% if visitor.uid > 0 %}data-hash="{{visitor.authHash}}"{% endif %}>
<div id="app">
{% include "views/partial/navigation" %}
<div id="content_wrapper">