@@ -448,10 +448,13 @@ redirected to the ``default_target_path`` to avoid a redirection loop.
448
448
For historical reasons, and to match the misspelling of the HTTP standard,
449
449
the option is called ``use_referer `` instead of ``use_referrer ``.
450
450
451
- **Options Related to Logout Configuration **
451
+ logout
452
+ ~~~~~~
453
+
454
+ You can configure logout options.
452
455
453
456
invalidate_session
454
- ~~~~~~~~~~~~~~~~~~
457
+ ..................
455
458
456
459
**type **: ``boolean `` **default **: ``true ``
457
460
@@ -466,14 +469,14 @@ the current firewall and not the other ones.
466
469
.. _reference-security-logout-success-handler :
467
470
468
471
``path ``
469
- ~~~~~~~~
472
+ ........
470
473
471
474
**type **: ``string `` **default **: ``/logout ``
472
475
473
476
The path which triggers logout. You need to set up a route with a matching path.
474
477
475
478
target
476
- ~~~~~~
479
+ ......
477
480
478
481
**type **: ``string `` **default **: ``/ ``
479
482
@@ -482,7 +485,7 @@ starts with ``http://`` or ``https://``) or the route name (otherwise) to
482
485
redirect after logout.
483
486
484
487
success_handler
485
- ~~~~~~~~~~~~~~~
488
+ ...............
486
489
487
490
.. deprecated :: 5.1
488
491
@@ -501,22 +504,22 @@ If it is set, the logout ``target`` option will be ignored.
501
504
.. _reference-security-logout-csrf :
502
505
503
506
csrf_parameter
504
- ~~~~~~~~~~~~~~
507
+ ..............
505
508
506
509
**type **: ``string `` **default **: ``'_csrf_token' ``
507
510
508
511
The name of the parameter that stores the CSRF token value.
509
512
510
513
csrf_token_generator
511
- ~~~~~~~~~~~~~~~~~~~~
514
+ ....................
512
515
513
516
**type **: ``string `` **default **: ``null ``
514
517
515
518
The ``id `` of the service used to generate the CSRF tokens. Symfony provides a
516
519
default service whose ID is ``security.csrf.token_manager ``.
517
520
518
521
csrf_token_id
519
- ~~~~~~~~~~~~~
522
+ .............
520
523
521
524
**type **: ``string `` **default **: ``'logout' ``
522
525
0 commit comments