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

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: ~