conf logout

This commit is contained in:
Kayn Ty 2018-04-25 17:38:45 +02:00
parent 4a4a0b8596
commit eeb38c694a

View File

@ -1,6 +1,7 @@
# To get started with security, check out the documentation:
# https://symfony.com/doc/current/security.html
security:
encoders:
FOS\UserBundle\Model\UserInterface: bcrypt
# https://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded
@ -11,6 +12,9 @@ security:
secured_area:
anonymous: ~
logout_on_user_change: true
logout:
path: /logout
target: /login
oauth:
resource_owners:
# facebook: "/login/check-facebook"
@ -35,7 +39,9 @@ security:
provider: fos_userbundle
csrf_token_generator: security.csrf.token_manager
default_target_path: dashboard
logout: true
logout:
path: /logout
target: /login
anonymous: true
logout_on_user_change: true
# https://symfony.com/doc/current/security/form_login_setup.html