UI - add CSRF protection

This commit is contained in:
bunkerity
2021-07-09 16:01:51 +02:00
parent 0d3f7d3925
commit 72a09eac6d
10 changed files with 27 additions and 19 deletions

View File

@@ -17,6 +17,7 @@
{% endfor %}
</ul>
<form id="form-edit-{{ id_server_name }}">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<input type="hidden" value="{{ service["SERVER_NAME"] }}" name="OLD_SERVER_NAME">
<div class="tab-content" id="edit-content-{{ id_server_name }}">
{% set check = {"class": "show active"} %}