Skip to content

Commit b79120e

Browse files
committed
Fix error when attempting to login using an invalid email
1 parent 3757fdc commit b79120e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Http/Controllers/Concerns/HandlesLogins.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected function guard()
4343
return Auth::guard();
4444
}
4545

46-
protected function failAuthentication(Request $request, Authenticatable $user)
46+
protected function failAuthentication(Request $request, ?Authenticatable $user = null)
4747
{
4848
$this->fireFailedEvent($request, $user);
4949
$this->incrementLoginAttempts($request);

0 commit comments

Comments
 (0)