From: Raphaƫl Gertz Date: Wed, 8 Sep 2021 16:39:06 +0000 (+0200) Subject: Revert change as getUsername is abstract and thus required X-Git-Tag: 0.2.0~8 X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/dc6abe457620de69b2322f0ae39f06083611ec01?ds=sidebyside;hp=1cb68943bd0b3433112e716e13f3b4753de4a06a Revert change as getUsername is abstract and thus required --- diff --git a/Entity/User.php b/Entity/User.php index e1693cc..c2c1642 100644 --- a/Entity/User.php +++ b/Entity/User.php @@ -398,6 +398,13 @@ class User implements UserInterface, \Serializable { return null; } + /** + * {@inheritdoc} + */ + public function getUsername(): string { + return $this->mail; + } + /** * {@inheritdoc} */