From 07c71fb0bf170eba8a6290b9f9cc1874c834c80e Mon Sep 17 00:00:00 2001 From: steschuser Date: Thu, 5 Aug 2021 19:41:28 +0200 Subject: [PATCH] setting account_user_ids to empty list on GET /account/edit (#966) --- powerdnsadmin/routes/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/powerdnsadmin/routes/admin.py b/powerdnsadmin/routes/admin.py index 5039370..8e119a2 100644 --- a/powerdnsadmin/routes/admin.py +++ b/powerdnsadmin/routes/admin.py @@ -441,6 +441,7 @@ def edit_account(account_name=None): if request.method == 'GET': if account_name is None: return render_template('admin_edit_account.html', + account_user_ids=[], users=users, create=1)