Skip to content

Commit 88d20f7

Browse files
committed
minor #15235 Fix typo in handler success customization part. (juferchaud)
This PR was merged into the 5.2 branch. Discussion ---------- Fix typo in handler success customization part. Backslashes were missing. Reading was difficult, especially at the end of that very complete page 😅 . <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- d3b1f4d Fix typo in handler success customization part.
2 parents 69f42d4 + d3b1f4d commit 88d20f7

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)