2025-07-28 17:10:56 +02:00
|
|
|
# see https://symfony.com/doc/current/reference/configuration/framework.html
|
|
|
|
framework:
|
|
|
|
secret: '%env(APP_SECRET)%'
|
2025-09-17 14:36:05 +02:00
|
|
|
csrf_protection: true
|
2025-07-28 17:10:56 +02:00
|
|
|
|
|
|
|
# Note that the session will be started ONLY if you read or write from it.
|
2025-09-17 14:36:05 +02:00
|
|
|
session:
|
|
|
|
enabled: true
|
|
|
|
handler_id: null
|
|
|
|
cookie_secure: auto
|
|
|
|
|
2025-07-28 17:10:56 +02:00
|
|
|
|
|
|
|
#esi: true
|
|
|
|
#fragments: true
|
|
|
|
|
|
|
|
when@test:
|
|
|
|
framework:
|
|
|
|
test: true
|
|
|
|
session:
|
|
|
|
storage_factory_id: session.storage.factory.mock_file
|