modified: web/blueprints/site_admin.py
modified: web/panel_db.py modified: web/templates/admin/user_edit.html
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user