Remove manager parameter from add_raw_pass

This commit is contained in:
Andrew 2022-08-27 11:25:55 -04:00
parent 27ad78c14d
commit b1769ba9a4

View File

@ -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