Skip to content

Commit 6584810

Browse files
MatTheCatwouterj
andauthored
Update security.rst
Co-authored-by: Wouter de Jong <[email protected]>
1 parent 225d304 commit 6584810

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

security.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -1845,7 +1845,8 @@ To enable logging out, activate the ``logout`` config parameter under your fire
18451845
};
18461846
18471847
Symfony will then un-authenticate users navigating to the configured ``path``,
1848-
and redirect them to the configured ``target``.
1848+
and redirect them to the configured ``target``. You can generate URLs to this
1849+
path using the ``_security_<firewallname>`` route name (e.g. ``_security_main``).
18491850

18501851
If your project does not use :ref:`Symfony Flex <symfony-flex>`, make sure
18511852
you have imported the logout route loader in your routes:

0 commit comments

Comments
 (0)