Skip to content

Commit d95575d

Browse files
committed
/series/{id}: don't add CSRF token explicitly.
No functional changes.
1 parent dced5df commit d95575d

File tree

1 file changed

+1
-1
lines changed
  • src/main/webapp/WEB-INF/views/series

1 file changed

+1
-1
lines changed

src/main/webapp/WEB-INF/views/series/info.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@
255255
<div class="col-sm-4">
256256
<div class="row">
257257
<div class="col-sm-6 col-sm-offset-3">
258-
<form method="post" class="form-horizontal" enctype="multipart/form-data" th:action="@{${ADD_IMAGE_SERIES_PAGE}(id=${series.id})} + '?' + ${_csrf.parameterName} + '=' + ${_csrf.token}" th:object="${addImageForm}">
258+
<form method="post" class="form-horizontal" enctype="multipart/form-data" th:action="@{${ADD_IMAGE_SERIES_PAGE}(id=${series.id})}" th:object="${addImageForm}">
259259
<div class="form-group" th:classappend="${#fields.hasErrors('image') ? 'has-error' : ''}">
260260
<input type="file" id="image" class="form-control" style="box-shadow: none; border: 0px;" required="required" accept="image/png,image/jpeg" th:field="*{image}" />
261261
<span id="image.errors" class="help-block" th:if="${#fields.hasErrors('image')}" th:each="error : ${#fields.errors('image')}" th:text="${error}"></span>

0 commit comments

Comments
 (0)