8000 [Ldap] Avoid calling the deprecated getUsername() · symfony/symfony@080f81f · GitHub
[go: up one dir, main page]

Skip to content

Commit 080f81f

Browse files
committed
[Ldap] Avoid calling the deprecated getUsername()
1 parent d862e34 commit 080f81f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Ldap/Security/LdapUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function isEqualTo(UserInterface $user): bool
121121
return false;
122122
}
123123

124-
if ($this->getUsername() !== $user->getUsername()) {
124+
if ($this->getUserIdentifier() !== $user->getUserIdentifier()) {
125125
return false;
126126
}
127127

0 commit comments

Comments
 (0)
0