8000 bug #41367 [Ldap] Avoid calling the deprecated getUsername() (derrabus) · symfony/symfony@08c80e1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 08c80e1

Browse files
committed
bug #41367 [Ldap] Avoid calling the deprecated getUsername() (derrabus)
This PR was merged into the 5.3 branch. Discussion ---------- [Ldap] Avoid calling the deprecated getUsername() | Q | A | ------------- | --- | Branch? | 5.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | N/A | License | MIT | Doc PR | N/A Commits ------- 080f81f [Ldap] Avoid calling the deprecated getUsername()
2 parents 472db63 + 080f81f commit 08c80e1

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