From d3f24d958d303a81990e3627ea295beebf70107e Mon Sep 17 00:00:00 2001 From: dettlaff Date: Fri, 15 Nov 2024 03:52:27 +0400 Subject: [PATCH] fix: change password to hashed_password --- selfprivacy_api/repositories/users/kanidm_user_repository.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfprivacy_api/repositories/users/kanidm_user_repository.py b/selfprivacy_api/repositories/users/kanidm_user_repository.py index eae15d1..cbec5f5 100644 --- a/selfprivacy_api/repositories/users/kanidm_user_repository.py +++ b/selfprivacy_api/repositories/users/kanidm_user_repository.py @@ -46,7 +46,7 @@ class KanidmUserRepository(AbstractUserRepository): @staticmethod def create_user( username: str, - password: Optional[str] = None, # TODO legacy? + hashed_password: Optional[str] = None, # TODO legacy? displayname: Optional[str] = None, email: Optional[str] = None, directmemberof: Optional[list[str]] = None, @@ -101,7 +101,7 @@ class KanidmUserRepository(AbstractUserRepository): def update_user( username: str, - password: Optional[str] = None, # TODO legacy? + hashed_password: Optional[str] = None, # TODO legacy? displayname: Optional[str] = None, email: Optional[str] = None, directmemberof: Optional[list[str]] = None,