Commit d164cca4 authored by Jason Lewis's avatar Jason Lewis

Merge pull request #1211 from franzliedke/patch-45

[Auth] Fix hardcoded "id" column in Eloquent driver (#1207)
parents 1a7f2bf2 fedc9fc4
...@@ -52,7 +52,7 @@ class Eloquent extends Driver { ...@@ -52,7 +52,7 @@ class Eloquent extends Driver {
if ( ! is_null($user) and Hash::check($password, $user->{$password_field})) if ( ! is_null($user) and Hash::check($password, $user->{$password_field}))
{ {
return $this->login($user->id, array_get($arguments, 'remember')); return $this->login($user->get_key(), array_get($arguments, 'remember'));
} }
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment