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-new">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<div class="tab-content" id="new-content">
{% set check = {"class": "show active"} %}
{% for k, v in config["CONFIG"].get_settings().items() %}