Commit fedc9fc4 authored by Franz Liedke's avatar Franz Liedke

Fix hardcoded "id" column in Eloquent auth driver.

parent 38562d50
...@@ -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