mirror of
https://github.com/slawkens/myaac.git
synced 2026-01-16 11:21:29 +01:00
feature: csrf protection
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<form action="?subtopic=guilds&action=leave_guild&guild={{ guild_name }}&todo=save" METHOD="post">
|
||||
{{ csrf() }}
|
||||
<table border="0" cellspacing="1" cellpadding="4" width="100%">
|
||||
<tr bgcolor="{{ config.vdarkborder }}">
|
||||
<td class="white"><b>Leave guild</b></td></tr>
|
||||
@@ -27,8 +28,9 @@
|
||||
</form>
|
||||
<td>
|
||||
<form action="?subtopic=guilds&action=show&guild={{ guild_name }}" method="post">
|
||||
{{ csrf() }}
|
||||
{{ include('buttons.back.html.twig') }}
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user