Add admin password management and collapsible settings
This commit is contained in:
@@ -13,6 +13,9 @@
|
||||
<div class="text-secondary small text-uppercase fw-semibold mb-2">AI Station</div>
|
||||
<h1 class="h3 mb-2">Администрирование</h1>
|
||||
<p class="text-secondary mb-4">Введите системный пароль пользователя theroot.</p>
|
||||
{% if request.query_params.get('result') == 'password-changed' %}
|
||||
<div class="alert alert-success py-2">Пароль успешно изменён. Войдите с новым паролем.</div>
|
||||
{% endif %}
|
||||
{% if error %}<div class="alert alert-danger py-2">{{ error }}</div>{% endif %}
|
||||
<form method="post" action="/admin/login">
|
||||
<label for="password" class="form-label">Системный пароль</label>
|
||||
|
||||
Reference in New Issue
Block a user