diff --git a/src/Auth/DatabaseUserProvider.php b/src/Auth/DatabaseUserProvider.php index 1a908f9..95f0683 100644 --- a/src/Auth/DatabaseUserProvider.php +++ b/src/Auth/DatabaseUserProvider.php @@ -91,10 +91,12 @@ public function updateRememberToken(Authenticatable $user, $token) */ public function retrieveByCredentials(array $credentials) { + $user = null; + try { $user = Resolver::byCredentials($credentials); } catch (BindException $e) { - if (!$this->isFallingBack()) { + if (! $this->isFallingBack()) { throw $e; } }