Skip to content

Fix title level #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions reference/configuration/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ redirected to the ``default_target_path`` to avoid a redirection loop.
**Options Related to Logout Configuration**

delete_cookies
~~~~~~~~~~~~~~
..............

**type**: ``array`` **default**: ``[]``

Expand Down Expand Up @@ -425,8 +425,9 @@ user logs out::
],
]);


clear_site_data
~~~~~~~~~~~~~~~
...............

**type**: ``array`` **default**: ``[]``

Expand Down Expand Up @@ -498,7 +499,7 @@ It's also possible to use ``*`` as a wildcard for all directives:
The ``clear_site_data`` option was introduced in Symfony 6.3.

invalidate_session
~~~~~~~~~~~~~~~~~~
..................

**type**: ``boolean`` **default**: ``true``

Expand All @@ -511,14 +512,14 @@ option to ``false`` in every firewall and the user will only be logged out from
the current firewall and not the other ones.

``path``
~~~~~~~~
........

**type**: ``string`` **default**: ``/logout``

The path which triggers logout. You need to set up a route with a matching path.

target
~~~~~~
......

**type**: ``string`` **default**: ``/``

Expand All @@ -529,7 +530,7 @@ redirect after logout.
.. _reference-security-logout-csrf:

enable_csrf
~~~~~~~~~~~
...........

**type**: ``boolean`` **default**: ``null``

Expand All @@ -542,14 +543,14 @@ option if you need to use a custom CSRF token manager.
The ``enable_csrf`` option was introduced in Symfony 6.2.

csrf_parameter
~~~~~~~~~~~~~~
..............

**type**: ``string`` **default**: ``'_csrf_token'``

The name of the parameter that stores the CSRF token value.

csrf_token_manager
~~~~~~~~~~~~~~~~~~
..................

**type**: ``string`` **default**: ``null``

Expand Down