mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-08 17:11:05 +00:00
fix: change name to username
This commit is contained in:
parent
e16f538c30
commit
d171961ef9
|
@ -70,7 +70,7 @@ class KanidmUserRepository(AbstractUserRepository):
|
||||||
attrs = user.get("attrs", {})
|
attrs = user.get("attrs", {})
|
||||||
user_type = UserDataUser(
|
user_type = UserDataUser(
|
||||||
uuid=attrs.get("uuid", [None])[0],
|
uuid=attrs.get("uuid", [None])[0],
|
||||||
name=attrs.get("name", [None])[0],
|
username=attrs.get("name", [None])[0],
|
||||||
ssh_keys=["test"], # TODO
|
ssh_keys=["test"], # TODO
|
||||||
displayname=attrs.get("displayname", [None])[0],
|
displayname=attrs.get("displayname", [None])[0],
|
||||||
email=attrs.get("mail", [None])[0],
|
email=attrs.get("mail", [None])[0],
|
||||||
|
|
Loading…
Reference in a new issue