Merge pull request #1211 from franzliedke/patch-45

[Auth] Fix hardcoded "id" column in Eloquent driver (#1207)
This commit is contained in:
Jason Lewis 2012-10-20 17:29:37 -07:00
commit d164cca4aa
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public function attempt($arguments = array())
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;