Commit bb2afdf5 authored by Colin Viebrock's avatar Colin Viebrock

Fix for Fluent ... this should work, I'd think

parent 62afdf3f
...@@ -39,7 +39,7 @@ class Fluent extends Driver { ...@@ -39,7 +39,7 @@ class Fluent extends Driver {
$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'));
} }
...@@ -62,4 +62,4 @@ class Fluent extends Driver { ...@@ -62,4 +62,4 @@ class Fluent extends Driver {
return DB::table($table)->where($username, '=', $value)->first(); return DB::table($table)->where($username, '=', $value)->first();
} }
} }
\ No newline at end of file
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