add csrf token to forms #2

This commit is contained in:
Yusur 2022-11-10 21:54:48 +01:00
parent 891fe36a83
commit d45d5c4284
2 changed files with 3 additions and 0 deletions

View file

@ -32,6 +32,7 @@
{% endif %}
<form method="POST">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
<div>
<label for="title"><span class="material-icons">link</span> /</label>
<input type="text" name="url" class="url-input" placeholder="(No URL)" maxlength="64" value="{{ pl_url or '' }}">