Force secure cookie on HTTPS connection

This commit is contained in:
Jeremy Benoist 2023-09-06 12:14:29 +02:00
parent 8ac80e934e
commit c5d21025c4
No known key found for this signature in database
GPG Key ID: 7168D5DD29F38552
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ framework:
# handler_id set to null will use default session handler from php.ini
handler_id: session.handler.native_file
save_path: "%kernel.project_dir%/var/sessions/%kernel.environment%"
cookie_secure: auto
fragments: ~
http_method_override: true
assets: ~