Skip to content

Commit

Permalink
Admin: Added csrf-token
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirLapskiy-zz committed Sep 13, 2021
1 parent dd307f2 commit c35f06e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Web/Presenters/templates/Admin/Club.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
<div class="buttons-container">
<div class="buttons">
<input type="hidden" name="case" value="info">
<input type="hidden" name="hash" value="{$csrfToken}" />
<input class="button submit" type="submit" value="Сохранить">
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion Web/Presenters/templates/Admin/User.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
</div>
<div class="buttons-container">
<div class="buttons">
<input type="hidden" name="case" value="info">
<input type="hidden" name="hash" value="{$csrfToken}" />
<input class="button submit" type="submit" value="Сохранить">
</div>
</div>
Expand Down

0 comments on commit c35f06e

Please sign in to comment.