Skip to content

Commit 9576961

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 ------- 080f81f1f4 [Ldap] Avoid calling the deprecated getUsername()
2 parents 0f07f68 + de45161 commit 9576961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)