mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2025-01-30 20:56:39 +00:00
fix: name of function
This commit is contained in:
parent
b8b2363f48
commit
11d583bd92
|
@ -178,7 +178,7 @@ class KanidmUserRepository(AbstractUserRepository):
|
||||||
for user in users_data:
|
for user in users_data:
|
||||||
attrs = user.get("attrs", {})
|
attrs = user.get("attrs", {})
|
||||||
|
|
||||||
origin = KanidmUserRepository._check_user_origin(
|
origin = KanidmUserRepository._check_user_origin_by_memberof(
|
||||||
memberof=attrs.get("memberof", [])
|
memberof=attrs.get("memberof", [])
|
||||||
)
|
)
|
||||||
if exclude_primary and origin == UserDataUserOrigin.PRIMARY:
|
if exclude_primary and origin == UserDataUserOrigin.PRIMARY:
|
||||||
|
|
Loading…
Reference in a new issue