mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fixes bug where non-super users couldn't edit language/password
This commit is contained in:
parent
fc4e8a00e1
commit
f16580aa43
@ -91,7 +91,7 @@ class Users_Controller:
|
||||
|
||||
users_helper.delete_user_roles(user_id, removed_roles)
|
||||
|
||||
users_helper.update_user(user_id, up_data)
|
||||
users_helper.update_user(user_id, up_data)
|
||||
|
||||
@staticmethod
|
||||
def add_user(username, password=None, api_token=None, enabled=True, superuser=False):
|
||||
|
Loading…
Reference in New Issue
Block a user