modified: web/blueprints/site_admin.py

modified:   web/panel_db.py
	modified:   web/templates/admin/user_edit.html
This commit is contained in:
SimolZimol
2026-04-01 03:04:38 +02:00
parent 4952b52ba4
commit a2db1585de
3 changed files with 11 additions and 1 deletions

View File

@@ -25,7 +25,7 @@
</div>
<div class="mb-3">
<label class="form-label">{{ 'New Password (leave blank = unchanged)' if user else 'Password *' }}</label>
<input type="password" name="password" class="form-control"
<input type="password" name="{{ 'new_password' if user else 'password' }}" class="form-control"
{{ '' if user else 'required' }}>
{% if not user %}
<div class="form-text">Minimum 8 characters recommended.</div>