diff --git a/src/Hook/UserLoggedIn/SyncUserGroups.php b/src/Hook/UserLoggedIn/SyncUserGroups.php index dd52c11..eb6a477 100644 --- a/src/Hook/UserLoggedIn/SyncUserGroups.php +++ b/src/Hook/UserLoggedIn/SyncUserGroups.php @@ -98,7 +98,7 @@ function( $dn ) use ($mapping) { if ( isset( $mapping[$dn] ) ) { return $mapping[$dn]; } - }, $groupList->getFullDNs() + }, $groupList["memberof"] ); }