]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Entity/User.php
Revert change as getUsername is abstract and thus required
[userbundle] / Entity / User.php
index 4393db6b4c4d996f35d10a489d24f36dd54bdb66..c2c1642ef8b95e0446842d24d9fa4ea526b6cd9c 100644 (file)
@@ -405,6 +405,13 @@ class User implements UserInterface, \Serializable {
                return $this->mail;
        }
 
+       /**
+        * {@inheritdoc}
+        */
+       public function getUserIdentifier(): string {
+               return $this->mail;
+       }
+
        /**
         * {@inheritdoc}
         */