|
@@ -35,7 +35,7 @@ class Eloquent extends Driver {
|
|
// log the user into the application and remember them if asked.
|
|
// log the user into the application and remember them if asked.
|
|
$password = $arguments['password'];
|
|
$password = $arguments['password'];
|
|
|
|
|
|
- $password_field = Config::get('auth.password');
|
|
|
|
|
|
+ $password_field = Config::get('auth.password', 'password');
|
|
|
|
|
|
if ( ! is_null($user) and Hash::check($password, $user->get_attribute($password_field)))
|
|
if ( ! is_null($user) and Hash::check($password, $user->get_attribute($password_field)))
|
|
{
|
|
{
|