]> Raphaël G. Git Repositories - userbundle/commitdiff
Revert change as getUsername is abstract and thus required
authorRaphaël Gertz <git@rapsys.eu>
Wed, 8 Sep 2021 16:39:06 +0000 (18:39 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 8 Sep 2021 16:39:06 +0000 (18:39 +0200)
Entity/User.php

index e1693cc06a2934ba21db9cc50745a83b143d0cd2..c2c1642ef8b95e0446842d24d9fa4ea526b6cd9c 100644 (file)
@@ -398,6 +398,13 @@ class User implements UserInterface, \Serializable {
                return null;
        }
 
+       /**
+        * {@inheritdoc}
+        */
+       public function getUsername(): string {
+               return $this->mail;
+       }
+
        /**
         * {@inheritdoc}
         */