diff --git a/laravel/auth/drivers/eloquent.php b/laravel/auth/drivers/eloquent.php index 1b588db3..8c1c6a80 100644 --- a/laravel/auth/drivers/eloquent.php +++ b/laravel/auth/drivers/eloquent.php @@ -35,7 +35,7 @@ class Eloquent extends Driver { // log the user into the application and remember them if asked. $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))) { diff --git a/laravel/auth/drivers/fluent.php b/laravel/auth/drivers/fluent.php index f9d309db..4c23468b 100644 --- a/laravel/auth/drivers/fluent.php +++ b/laravel/auth/drivers/fluent.php @@ -37,7 +37,7 @@ class Fluent extends Driver { // log the user into the application and remember them if asked. $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->{$password_field})) {