fix: name of function

This commit is contained in:
dettlaff 2024-11-29 19:37:31 +04:00
parent b8b2363f48
commit 11d583bd92

View file

@ -178,7 +178,7 @@ class KanidmUserRepository(AbstractUserRepository):
for user in users_data:
attrs = user.get("attrs", {})
origin = KanidmUserRepository._check_user_origin(
origin = KanidmUserRepository._check_user_origin_by_memberof(
memberof=attrs.get("memberof", [])
)
if exclude_primary and origin == UserDataUserOrigin.PRIMARY: