Compare commits

...

2 commits

Author SHA1 Message Date
Hesabix b0d8761d7f security bug fix
Some checks failed
PHP Composer / build (push) Has been cancelled
2025-09-03 23:05:29 +03:30
Hesabix 491d1a0d95 security bug fix 2025-09-03 23:05:19 +03:30

View file

@ -45,6 +45,7 @@ security:
path: customer_logout path: customer_logout
target: app_home target: app_home
main: main:
pattern: ^/(?!customer)
lazy: true lazy: true
provider: app_user_provider provider: app_user_provider
form_login: form_login:
@ -54,6 +55,18 @@ security:
logout: logout:
path: 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 # activate different ways to authenticate
# https://symfony.com/doc/current/security.html#the-firewall # https://symfony.com/doc/current/security.html#the-firewall