]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Entity/User.php
Fix replacement of getUsername by getUserIdentifier in symfony 5.3+
[userbundle] / Entity / User.php
index 4393db6b4c4d996f35d10a489d24f36dd54bdb66..e1693cc06a2934ba21db9cc50745a83b143d0cd2 100644 (file)
@@ -401,7 +401,7 @@ class User implements UserInterface, \Serializable {
        /**
         * {@inheritdoc}
         */
-       public function getUsername(): string {
+       public function getUserIdentifier(): string {
                return $this->mail;
        }