Rapsys Git
/
userbundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cb6894
)
Revert change as getUsername is abstract and thus required
author
Raphaël Gertz
<git@rapsys.eu>
Wed, 8 Sep 2021 16:39:06 +0000
(18:39 +0200)
committer
Raphaël Gertz
<git@rapsys.eu>
Wed, 8 Sep 2021 16:39:06 +0000
(18:39 +0200)
Entity/User.php
patch
|
blob
|
history
diff --git
a/Entity/User.php
b/Entity/User.php
index e1693cc06a2934ba21db9cc50745a83b143d0cd2..c2c1642ef8b95e0446842d24d9fa4ea526b6cd9c 100644
(file)
--- 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}
*/