Skip to content

Commit

Permalink
Implemented \Ibexa\Core\MVC\Symfony\Security\User::getUserIdentifier
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Aug 26, 2024
1 parent 922034c commit e2a12d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/MVC/Symfony/Security/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ public function getSalt(): ?string
* Returns the username used to authenticate the user.
*/
public function getUsername(): string
{
return $this->getUserIdentifier();
}

public function getUserIdentifier(): string
{
return $this->getAPIUser()->getLogin();
}
Expand Down

0 comments on commit e2a12d6

Please sign in to comment.