Protect against csrf in more places (accounts & guilds pages)

This commit is contained in:
slawkens
2025-05-24 09:52:56 +02:00
parent 72cdd290da
commit 6eda38603c
21 changed files with 43 additions and 4 deletions

View File

@@ -8,7 +8,8 @@
<table border="0" cellpadding="3" cellspacing="1" width="100%">
<tr bgcolor="{{ config.lightborder }}">
<td>
<form action="" method="get">
<form method="post">
{{ csrf() }}
<input type="hidden" name="subtopic" value="forum" />
<input type="hidden" name="action" value="move_thread" />
<input type="hidden" name="save" value="1" />
@@ -25,7 +26,6 @@
<input type="submit" value="Move Thread">
</form>
<form action="{{ section_link }}">
{{ csrf() }}
<input type="submit" value="Cancel">
</form>
</td>