@@ -351,7 +351,7 @@ redirected to the ``default_target_path`` to avoid a redirection loop.
351
351
**Options Related to Logout Configuration **
352
352
353
353
delete_cookies
354
- ~~~~~~~~~~~~~~
354
+ ..............
355
355
356
356
**type **: ``array `` **default **: ``[] ``
357
357
@@ -425,8 +425,9 @@ user logs out::
425
425
],
426
426
]);
427
427
428
+
428
429
clear_site_data
429
- ~~~~~~~~~~~~~~~
430
+ ...............
430
431
431
432
**type **: ``array `` **default **: ``[] ``
432
433
@@ -498,7 +499,7 @@ It's also possible to use ``*`` as a wildcard for all directives:
498
499
The ``clear_site_data `` option was introduced in Symfony 6.3.
499
500
500
501
invalidate_session
501
- ~~~~~~~~~~~~~~~~~~
502
+ ..................
502
503
503
504
**type **: ``boolean `` **default **: ``true ``
504
505
@@ -511,14 +512,14 @@ option to ``false`` in every firewall and the user will only be logged out from
511
512
the current firewall and not the other ones.
512
513
513
514
``path ``
514
- ~~~~~~~~
515
+ ........
515
516
516
517
**type **: ``string `` **default **: ``/logout ``
517
518
518
519
The path which triggers logout. You need to set up a route with a matching path.
519
520
520
521
target
521
- ~~~~~~
522
+ ......
522
523
523
524
**type **: ``string `` **default **: ``/ ``
524
525
@@ -529,7 +530,7 @@ redirect after logout.
529
530
.. _reference-security-logout-csrf :
530
531
531
532
enable_csrf
532
- ~~~~~~~~~~~
533
+ ...........
533
534
534
535
**type **: ``boolean `` **default **: ``null ``
535
536
@@ -542,14 +543,14 @@ option if you need to use a custom CSRF token manager.
542
543
The ``enable_csrf `` option was introduced in Symfony 6.2.
543
544
544
545
csrf_parameter
545
- ~~~~~~~~~~~~~~
546
+ ..............
546
547
547
548
**type **: ``string `` **default **: ``'_csrf_token' ``
548
549
549
550
The name of the parameter that stores the CSRF token value.
550
551
551
552
csrf_token_manager
552
- ~~~~~~~~~~~~~~~~~~
553
+ ..................
553
554
554
555
**type **: ``string `` **default **: ``null ``
555
556
0 commit comments