mirror of
https://github.com/slawkens/myaac.git
synced 2026-01-12 01:21:30 +01:00
feature: csrf protection
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<br/>
|
||||
<form action="{{ getLink('forum') }}" method="post">
|
||||
{{ csrf() }}
|
||||
<input type="hidden" name="action" value="edit_post" />
|
||||
<input type="hidden" name="id" value="{{ post_id }}" />
|
||||
<input type="hidden" name="save" value="save" />
|
||||
@@ -49,4 +50,4 @@
|
||||
<div style="text-align:center">
|
||||
<input type="submit" value="Save Post" />
|
||||
</div>
|
||||
</form>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user