mirror of
https://github.com/slawkens/myaac.git
synced 2026-01-15 19:01:30 +01:00
feature: csrf protection
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<form method="post" action="{{ link }}">
|
||||
{{ csrf() }}
|
||||
{% if action == 'edit' %}
|
||||
<input type="hidden" name="id" value="{{ id }}" />
|
||||
{% endif %}
|
||||
@@ -29,4 +30,4 @@
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<br/><br/>
|
||||
<br/><br/>
|
||||
|
||||
Reference in New Issue
Block a user