Fix for Fluent ... this should work, I'd think
This commit is contained in:
parent
62afdf3f2c
commit
bb2afdf559
|
@ -39,7 +39,7 @@ public function attempt($arguments = array())
|
||||||
|
|
||||||
$password_field = Config::get('auth.password');
|
$password_field = Config::get('auth.password');
|
||||||
|
|
||||||
if ( ! is_null($user) and Hash::check($password, $user->get_attribute($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->id, array_get($arguments, 'remember'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue