Skip to content

Commit 1b1f8ff

Browse files
committed
Minor reword
1 parent 88d20f7 commit 1b1f8ff

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

security/login_link.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -660,10 +660,8 @@ 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 that must implement
664-
:class:`Symfony\\Component\\Security\\Http\\Authentication\\AuthenticationSuccessHandlerInterface`.
665-
666-
.. code-block:: php
663+
success handler behaves, create your own handler as a class that implements
664+
:class:`Symfony\\Component\\Security\\Http\\Authentication\\AuthenticationSuccessHandlerInterface`::
667665

668666
// src/Security/Authentication/AuthenticationSuccessHandler.php
669667
namespace App\Security\Authentication;

0 commit comments

Comments
 (0)