From 82aa1aa93aa89f05db588a13ba4396175264ece2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 8 Sep 2021 18:36:14 +0200 Subject: [PATCH] Fix replacement of getUsername by getUserIdentifier in symfony 5.3+ --- Entity/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.41.1