Skip to content

Commit

Permalink
Merge pull request #61 from ali-alharthi/patch-1
Browse files Browse the repository at this point in the history
Added missing request to the throwFailedAuthenticationException method when using CustomCallback
  • Loading branch information
taylorotwell committed Sep 18, 2020
2 parents a4afc79 + ebb787d commit 5026913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Actions/AttemptToAuthenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected function handleUsingCustomCallback($request, $next)
$user = call_user_func(Fortify::$authenticateUsingCallback, $request);

if (! $user) {
return $this->throwFailedAuthenticationException();
return $this->throwFailedAuthenticationException($request);
}

$this->guard->login($user, $request->filled('remember'));
Expand Down

0 comments on commit 5026913

Please sign in to comment.