Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Commit

Permalink
Ensure variable exists and always make sure to triple check all PR's 😅
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Nov 12, 2020
1 parent 066715e commit 68bb780
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Auth/DatabaseUserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 68bb780

Please sign in to comment.