arcoa/config/packages/framework.yaml

22 lines
530 B
YAML

# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
secret: '%env(APP_SECRET)%'
csrf_protection: true
# Note that the session will be started ONLY if you read or write from it.
session:
enabled: true
cookie_lifetime: 3600
#esi: true
#fragments: true
when@test:
framework:
test: true
form:
csrf_protection:
enabled: true
session:
storage_factory_id: session.storage.factory.mock_file