mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-30 20:56:39 +00:00
fix: added a plug for ssh_keys
This commit is contained in:
parent
11d583bd92
commit
8d4639fd78
|
@ -189,6 +189,7 @@ class KanidmUserRepository(AbstractUserRepository):
|
||||||
username=attrs.get("name", [None])[0],
|
username=attrs.get("name", [None])[0],
|
||||||
displayname=attrs.get("displayname", [None])[0],
|
displayname=attrs.get("displayname", [None])[0],
|
||||||
email=attrs.get("mail", [None])[0],
|
email=attrs.get("mail", [None])[0],
|
||||||
|
ssh_keys=[], # actions layer will full in this field
|
||||||
origin=origin,
|
origin=origin,
|
||||||
directmemberof=attrs.get("directmemberof", []),
|
directmemberof=attrs.get("directmemberof", []),
|
||||||
memberof=attrs.get("memberof", []),
|
memberof=attrs.get("memberof", []),
|
||||||
|
@ -258,7 +259,7 @@ class KanidmUserRepository(AbstractUserRepository):
|
||||||
username=attrs.get("name", [None])[0],
|
username=attrs.get("name", [None])[0],
|
||||||
displayname=attrs.get("displayname", [None])[0],
|
displayname=attrs.get("displayname", [None])[0],
|
||||||
email=attrs.get("mail", [None])[0],
|
email=attrs.get("mail", [None])[0],
|
||||||
ssh_keys=attrs.get("ssh_keys", []),
|
ssh_keys=[], # actions layer will full in this field
|
||||||
origin=KanidmUserRepository._check_user_origin_by_memberof(
|
origin=KanidmUserRepository._check_user_origin_by_memberof(
|
||||||
memberof=attrs.get("memberof", [])
|
memberof=attrs.get("memberof", [])
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue