X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/1cb68943bd0b3433112e716e13f3b4753de4a06a..dc6abe457620de69b2322f0ae39f06083611ec01:/Entity/User.php?ds=sidebyside 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} */