rename password field

This commit is contained in:
georg.sinn-schirwitz
2025-08-30 16:19:17 +02:00
parent 7a3d665538
commit 932a85e279

View File

@@ -322,7 +322,7 @@ def admin_users():
if request.method == 'POST': if request.method == 'POST':
data = request.form data = request.form
username = (data.get('username') or '').strip() username = (data.get('username') or '').strip()
password = data.get('password') or None password = data.get('new_password') or None
is_admin = bool(data.get('is_admin')) is_admin = bool(data.get('is_admin'))
is_active = bool(data.get('is_active')) if data.get( is_active = bool(data.get('is_active')) if data.get(
'is_active') is not None else True 'is_active') is not None else True