]> _ Git - cubist_socialite.git/commitdiff
wip #4765
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 8 Oct 2021 16:05:55 +0000 (18:05 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 8 Oct 2021 16:05:55 +0000 (18:05 +0200)
src/User.php

index 5e7e8c3e0982f1a431732dd58c6310e0e7077872..18bcb98ec2ed70413ceabf06762d77e679d5711d 100644 (file)
@@ -96,6 +96,12 @@ class User implements Authenticatable
         $this->email = $email;
     }
 
+
+    public function getKeyName()
+    {
+        return 'id';
+    }
+
     /**
      * @param $provider
      * @return User|null