Skip to content

Commit

Permalink
Update FailedTwoFactorLoginResponse.php (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints authored Mar 17, 2022
1 parent 5247821 commit 59ccaff
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Http/Responses/FailedTwoFactorLoginResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ public function toResponse($request)
]);
}

return redirect()->route('two-factor.login')->withErrors([
'code' => $message,
'email' => $message,
]);
return redirect()->route('two-factor.login')->withErrors(['code' => $message]);
}
}

0 comments on commit 59ccaff

Please sign in to comment.