From e907f8bec9b81d51e3015fda5ae28f67163e3aee Mon Sep 17 00:00:00 2001 From: tracer Date: Mon, 11 Apr 2022 17:41:46 +0200 Subject: [PATCH] removed session --- config/packages/framework.yaml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/config/packages/framework.yaml b/config/packages/framework.yaml index 4de3f78..7853e9e 100644 --- a/config/packages/framework.yaml +++ b/config/packages/framework.yaml @@ -2,17 +2,23 @@ framework: secret: '%env(APP_SECRET)%' #csrf_protection: true - #http_method_override: true + http_method_override: false # Enables session support. Note that the session will ONLY be started if you read or write from it. # Remove or comment this section to explicitly disable session support. session: - enabled: true - handler_id: Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler - cookie_secure: 'auto' - cookie_samesite: 'lax' + handler_id: null + cookie_secure: auto + cookie_samesite: lax + storage_factory_id: session.storage.factory.native #esi: true #fragments: true php_errors: log: true + +when@test: + framework: + test: true + session: + storage_factory_id: session.storage.factory.mock_file