aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/templates/views/post.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/views/post.html
parentf0e10dc93f400e8ba979760a1c7af9d6e53cd1ef (diff)
Disable CSRF entirely
Diffstat (limited to 'src/main/resources/templates/views/post.html')
-rw-r--r--src/main/resources/templates/views/post.html1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/resources/templates/views/post.html b/src/main/resources/templates/views/post.html
index f1070d7a..a77fa3bd 100644
--- a/src/main/resources/templates/views/post.html
+++ b/src/main/resources/templates/views/post.html
@@ -5,7 +5,6 @@
<form id="postmsg">
<p style="text-align: left;">
<b>Фото:</b> <span id="attachmentfile">
- <input type="hidden" name="{{_csrf.parameterName}}" value="{{_csrf.token}}" />
<input style="width: 100%;" type="file" name="attach" accept="image/jpeg,image/png"/> <i>({{ i18n("messages","postForm.imageFormats") }})</i></span>
</p>
<p>