diff options
author | Vitaly Takmazov | 2022-10-24 01:09:32 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2022-11-25 14:16:03 +0300 |
commit | 9faf43a6c4b933b5f97be4348d461bf91f5bf2e2 (patch) | |
tree | 238968b200c73d905b9367154fddb7ac3eff6274 /src/main/resources/templates/views | |
parent | e0a98e8bd925bc5aebe49d011bb4ec17978f8bd9 (diff) |
Spring Boot 3
Diffstat (limited to 'src/main/resources/templates/views')
-rw-r--r-- | src/main/resources/templates/views/post.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/resources/templates/views/post.html b/src/main/resources/templates/views/post.html index a77fa3bd..f1070d7a 100644 --- a/src/main/resources/templates/views/post.html +++ b/src/main/resources/templates/views/post.html @@ -5,6 +5,7 @@ <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> |