Skip to content

Commit d3b1f4d

Browse files
authored
Fix typo in handler success customization part.
Backslashes were missing. Reading was difficult, especially at the end of that very complete page 😅 .
1 parent 2ab9c84 commit d3b1f4d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

security/login_link.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -660,8 +660,10 @@ Customizing the Success Handler
660660

661661
Sometimes, the default success handling does not fit your use-case (e.g.
662662
when you need to generate and return an API key). To customize how the
663-
success handler behaves, create your own
664-
:class:`Symfony\\Component\\Security\\Http\\Authentication\\AuthenticationSuccessHandlerInterface`::
663+
success handler behaves, create your own that must implement
664+
:class:`Symfony\\Component\\Security\\Http\\Authentication\\AuthenticationSuccessHandlerInterface`.
665+
666+
.. code-block:: php
665667
666668
// src/Security/Authentication/AuthenticationSuccessHandler.php
667669
namespace App\Security\Authentication;

0 commit comments

Comments
 (0)