From 491d1a0d95aa8cdc3e10a6d9b1d6e277091a1f4f Mon Sep 17 00:00:00 2001 From: Babak Alizadeh Date: Wed, 3 Sep 2025 23:05:19 +0330 Subject: [PATCH] security bug fix --- config/packages/security.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config/packages/security.yaml b/config/packages/security.yaml index adb1bd3..fda8b9f 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -54,6 +54,18 @@ security: logout: path: logout + customer_global: + pattern: ^/ + lazy: true + provider: customer_provider + remember_me: + secret: '%kernel.secret%' + lifetime: 604800 # 1 week + path: / + always_remember_me: false + logout: + path: customer_logout + target: app_home # activate different ways to authenticate # https://symfony.com/doc/current/security.html#the-firewall