Bug 37374: (follow-up) Add csrf token and op to form
This patch adds a hidden op input and csrf token to the clubs hold
request form.
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 83966f4273)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
938a38f4a2
commit
d4c114453f
|
|
@ -303,6 +303,8 @@
|
|||
<fieldset class="rows">
|
||||
<legend>Hold details</legend>
|
||||
<form action="/api/v1/clubs/[% club.id | html %]/holds" method="post" name="form" id="club-request-form">
|
||||
[% INCLUDE 'csrf-token.inc' %]
|
||||
<input type="hidden" name="op" value="cud-noop" />
|
||||
|
||||
[% IF ( multi_hold ) %]
|
||||
<input type="hidden" name="request" value="any"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue