Skip to content

Commit aae16c6

Browse files
committed
Implemented \Ibexa\Core\MVC\Symfony\Security\User::getUserIdentifier
1 parent 51f3ced commit aae16c6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lib/MVC/Symfony/Security/User.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ public function getSalt(): ?string
8080
* Returns the username used to authenticate the user.
8181
*/
8282
public function getUsername(): string
83+
{
84+
return $this->getUserIdentifier();
85+
}
86+
87+
public function getUserIdentifier(): string
8388
{
8489
return $this->getAPIUser()->getLogin();
8590
}

0 commit comments

Comments
 (0)