mirror of
https://github.com/slawkens/myaac.git
synced 2026-01-16 03:11:30 +01:00
feature: csrf protection
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<h5 class="m-0">{% if action == 'edit' %}Edit{% else %}Add{% endif %} news</h5>
|
||||
</div>
|
||||
<form id="form" role="form" method="post" action="{{ news_link_form }}">
|
||||
{{ csrf() }}
|
||||
<div class="card-body " id="page-edit-table">
|
||||
{% if action == 'edit' %}
|
||||
<input type="hidden" name="id" value="{{ news_id }}"/>
|
||||
|
||||
Reference in New Issue
Block a user