mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-08 17:11:05 +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
|
@staticmethod
|
||||||
def create_user(
|
def create_user(
|
||||||
username: str,
|
username: str,
|
||||||
password: Optional[str] = None, # TODO legacy?
|
hashed_password: Optional[str] = None, # TODO legacy?
|
||||||
displayname: Optional[str] = None,
|
displayname: Optional[str] = None,
|
||||||
email: Optional[str] = None,
|
email: Optional[str] = None,
|
||||||
directmemberof: Optional[list[str]] = None,
|
directmemberof: Optional[list[str]] = None,
|
||||||
|
@ -101,7 +101,7 @@ class KanidmUserRepository(AbstractUserRepository):
|
||||||
|
|
||||||
def update_user(
|
def update_user(
|
||||||
username: str,
|
username: str,
|
||||||
password: Optional[str] = None, # TODO legacy?
|
hashed_password: Optional[str] = None, # TODO legacy?
|
||||||
displayname: Optional[str] = None,
|
displayname: Optional[str] = None,
|
||||||
email: Optional[str] = None,
|
email: Optional[str] = None,
|
||||||
directmemberof: Optional[list[str]] = None,
|
directmemberof: Optional[list[str]] = None,
|
||||||
|
|
Loading…
Reference in a new issue