Skip to content

Commit

Permalink
feat: add __toString method to EuLoginUser.
Browse files Browse the repository at this point in the history
(cherry picked from commit f14d7c7)
  • Loading branch information
drupol committed Dec 15, 2022
1 parent 292eb2c commit cb1616d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Security/Core/User/EuLoginUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ public function __construct(CasUserInterface $user)
$this->user = $user;
}

public function __toString(): string
{
return $this->user->__toString();
}

public function eraseCredentials(): void
{
// null
Expand Down

0 comments on commit cb1616d

Please sign in to comment.