fix: change password to hashed_password

This commit is contained in:
dettlaff 2024-11-15 03:52:27 +04:00
parent 1c3e2cc2e0
commit d3f24d958d

View file

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