Skip to content

Commit

Permalink
Update lib/GroupManager.php
Browse files Browse the repository at this point in the history
Co-authored-by: Christoph Wurst <[email protected]>
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz and ChristophWurst committed Sep 18, 2024
1 parent 8bc4bb7 commit c9f58dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/GroupManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function __construct(
private function getGroupsToRemove(array $samlGroupNames, array $assignedGroups): array {
$groupsToRemove = [];
foreach ($assignedGroups as $group) {
if (in_array($group->getGID(), $samlGroupNames)) {
if (in_array($group->getGID(), $samlGroupNames, true)) {
continue;
}
// if group is not supplied by SAML and group has SAML backend
Expand Down

0 comments on commit c9f58dc

Please sign in to comment.