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