Skip to content

Commit

Permalink
Match interface
Browse files Browse the repository at this point in the history
Response is required
  • Loading branch information
RichardJong authored and scheb committed Jan 26, 2024
1 parent aceb55b commit 1298dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ reason. Implement a failure handler for it:
class TwoFactorAuthenticationFailureHandler implements AuthenticationFailureHandlerInterface
{
public function onAuthenticationFailure(Request $request, AuthenticationException $exception): ?Response
public function onAuthenticationFailure(Request $request, AuthenticationException $exception): Response
{
// Return the response to tell the client that 2fa failed. You may want to add more details
// from the $exception.
Expand Down

0 comments on commit 1298dfc

Please sign in to comment.