diff --git a/laravel/auth/drivers/eloquent.php b/laravel/auth/drivers/eloquent.php index 35fe07d2..fb401d68 100644 --- a/laravel/auth/drivers/eloquent.php +++ b/laravel/auth/drivers/eloquent.php @@ -52,7 +52,7 @@ public function attempt($arguments = array()) 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;