From: Raphaƫl Gertz Date: Wed, 8 Sep 2021 16:36:14 +0000 (+0200) Subject: Fix replacement of getUsername by getUserIdentifier in symfony 5.3+ X-Git-Tag: 0.2.0~10 X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/82aa1aa93aa89f05db588a13ba4396175264ece2?ds=inline Fix replacement of getUsername by getUserIdentifier in symfony 5.3+ --- diff --git a/Entity/User.php b/Entity/User.php index 4393db6..e1693cc 100644 --- a/Entity/User.php +++ b/Entity/User.php @@ -401,7 +401,7 @@ class User implements UserInterface, \Serializable { /** * {@inheritdoc} */ - public function getUsername(): string { + public function getUserIdentifier(): string { return $this->mail; }