We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4624b89 commit 4ce1926Copy full SHA for 4ce1926
src/Illuminate/Auth/Authenticatable.php
@@ -28,7 +28,7 @@ public function getAuthIdentifierName()
28
*/
29
public function getAuthIdentifier()
30
{
31
- return $this->getKey();
+ return $this->{$this->getAuthIdentifierName()};
32
}
33
34
/**
0 commit comments