Compare commits
2 commits
384887df21
...
b0d8761d7f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0d8761d7f | ||
|
|
491d1a0d95 |
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue