mirror of
https://github.com/slawkens/myaac.git
synced 2026-01-11 09:01:29 +01:00
feature: csrf protection
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<form action="?" method="post">
|
||||
{{ csrf() }}
|
||||
<input type="hidden" name="action" value="new_thread" />
|
||||
<input type="hidden" name="section_id" value="{{ section_id }}" />
|
||||
<input type="hidden" name="subtopic" value="forum" />
|
||||
@@ -45,4 +46,4 @@
|
||||
<div style="text-align:center">
|
||||
<input type="submit" value="Post Thread" />
|
||||
</div>
|
||||
</form>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user