diff --git a/src/Illuminate/Hashing/HashManager.php b/src/Illuminate/Hashing/HashManager.php index 3f51c184e730..49c50407cd41 100644 --- a/src/Illuminate/Hashing/HashManager.php +++ b/src/Illuminate/Hashing/HashManager.php @@ -71,6 +71,6 @@ public function needsRehash($hashedValue, array $options = []) */ public function getDefaultDriver() { - return $this->app['config']['hashing.driver']; + return $this->app['config']['hashing.driver'] ?? 'bcrypt'; } }