mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Remove manager parameter from add_raw_pass
This commit is contained in:
parent
27ad78c14d
commit
b1769ba9a4
@ -230,7 +230,6 @@ class HelperUsers:
|
||||
@staticmethod
|
||||
def add_rawpass_user(
|
||||
username: str,
|
||||
manager: str,
|
||||
password: str = "",
|
||||
email: t.Optional[str] = "default@example.com",
|
||||
enabled: bool = True,
|
||||
@ -244,7 +243,7 @@ class HelperUsers:
|
||||
Users.enabled: enabled,
|
||||
Users.superuser: superuser,
|
||||
Users.created: Helpers.get_time_as_string(),
|
||||
Users.manager: manager,
|
||||
Users.manager: None,
|
||||
}
|
||||
).execute()
|
||||
return user_id
|
||||
|
Loading…
Reference in New Issue
Block a user