8000 Update security.rst · symfony/symfony-docs@209f22b · GitHub
[go: up one dir, main page]

Skip to content

Commit 209f22b

Browse files
MatTheCattobias-93
andauthored
Update security.rst
Co-authored-by: Tobias Feijten <tobias93@live.nl>
1 parent 715899b commit 209f22b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1846,7 +1846,7 @@ To enable logging out, activate the ``logout`` config parameter under your fire
18461846
18471847
Symfony will then un-authenticate users navigating to the configured ``path``,
18481848
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``).
1849+
path using the ``_logout_<firewallname>`` route name (e.g. ``_logout_main``).
18501850

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

0 commit comments

Comments
 (0)
0