From b1769ba9a42ef3428b65ce9ee5ee1e192713b796 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sat, 27 Aug 2022 11:25:55 -0400 Subject: [PATCH] Remove manager parameter from add_raw_pass --- app/classes/models/users.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/classes/models/users.py b/app/classes/models/users.py index e625eec2..0d8e596b 100644 --- a/app/classes/models/users.py +++ b/app/classes/models/users.py @@ -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