From 9c7b12ece23a786f48bc5b7c25a0d4f0f5413fb3 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 26 Sep 2016 16:35:32 +0200 Subject: Fix Authenticatable implementation in User.php --- app/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/User.php b/app/User.php index 8853733..6520bb6 100644 --- a/app/User.php +++ b/app/User.php @@ -71,7 +71,7 @@ class User extends Model implements Authenticatable, CanResetPassword { } public function getAuthIdentifierName() { - return $this->email; + return 'id'; } public function getAuthIdentifier() { -- cgit v1.2.3