mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fixes error thrown when calling add_user page
This commit is contained in:
parent
af7e31a744
commit
aea023b893
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user