Fixes error thrown when calling add_user page

This commit is contained in:
Andrew 2021-08-24 19:25:35 -04:00
parent af7e31a744
commit aea023b893

View File

@ -752,6 +752,9 @@ class PanelHandler(BaseHandler):
if q_argument:
server_quantity[permission.name] = q_argument
else:
server_quantity[permission.name] = 0
user_id = db_helper.add_user(username, password=password0, enabled=enabled)
user_data = {
"roles": roles,