diff options
author | Camil Staps | 2016-09-26 16:35:32 +0200 |
---|---|---|
committer | Camil Staps | 2016-09-26 16:35:32 +0200 |
commit | 9c7b12ece23a786f48bc5b7c25a0d4f0f5413fb3 (patch) | |
tree | 02afcd7417e67fde89c1c717f94bfd79b5742188 | |
parent | Change from lumen 5.2 to laravel 5.3 (Resolves #1) (diff) |
Fix Authenticatable implementation in User.php
-rw-r--r-- | app/User.php | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |