Skip to content

Commit

Permalink
Fix class support
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilVanB committed May 29, 2024
1 parent 9943416 commit f484fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Security/LdapUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function loadUserByIdentifier(string $username): UserInterface

public function supportsClass($class)
{
return true;
return $class === LdapUser::class;
}

protected function findLdapUserRoles(Entry $user)
Expand Down

0 comments on commit f484fea

Please sign in to comment.