Minor tweaks about non-root handling

This commit is contained in:
Thomas Sileo
2022-11-04 19:28:21 +01:00
parent 1c076049cf
commit 540b9d1470
3 changed files with 10 additions and 5 deletions

View File

@@ -7,7 +7,7 @@
{% if error %}
<p class="primary-color">Invalid password.</p>
{% endif %}
<form class="form" method="POST">
<form class="form" action="{{ BASE_URL }}/admin/login" method="POST">
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
<input type="hidden" name="redirect" value="{{ redirect }}">
<input type="password" placeholder="password" name="password" autofocus>