mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
Add form security token to contact actions
- Add token to batch POST actions - Add token to individual GET actions
This commit is contained in:
parent
0c8c0f7374
commit
e9aa27b19f
3 changed files with 19 additions and 8 deletions
|
@ -29,7 +29,8 @@
|
|||
|
||||
{{* we need the form container to make batch actions work *}}
|
||||
<form name="batch_actions_submit" action="{{$baseurl}}/contact/batch/" method="POST">
|
||||
<input type="hidden" name="redirect_url" value="{{$cmd}}"/>
|
||||
<input type="hidden" name="redirect_url" value="{{$cmd}}" />
|
||||
<input type="hidden" name="form_security_token" value="{{$form_security_token}}" />
|
||||
|
||||
{{* we put here a hidden input element. This is needed to transmit the batch actions with javascript*}}
|
||||
<input type="hidden" class="batch-action no-input fakelist" name="batch_submit" value="{{$l}}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue