mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-07 16:41:08 +00:00
fix: change password to hashed_password
This commit is contained in:
parent
1c3e2cc2e0
commit
d3f24d958d
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue