created working session and client handler w/ websocket
This commit is contained in:
@@ -29,7 +29,8 @@ framework:
|
||||
trusted_proxies: ~
|
||||
session:
|
||||
# http://symfony.com/doc/current/reference/configuration/framework.html#handler-id
|
||||
handler_id: session.handler.native_file
|
||||
# handler_id: session.handler.native_file
|
||||
handler_id: session.handler.pdo
|
||||
save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
|
||||
fragments: ~
|
||||
http_method_override: true
|
||||
|
||||
@@ -8,7 +8,7 @@ security:
|
||||
|
||||
providers:
|
||||
fos_userbundle:
|
||||
id: fos_user.user_provider.username
|
||||
id: fos_user.user_provider.username_email
|
||||
|
||||
firewalls:
|
||||
main:
|
||||
@@ -17,8 +17,6 @@ security:
|
||||
provider: fos_userbundle
|
||||
csrf_token_generator: security.csrf.token_manager
|
||||
default_target_path: /admin
|
||||
# if you are using Symfony < 2.8, use the following config instead:
|
||||
# csrf_provider: form.csrf_provider
|
||||
|
||||
logout: true
|
||||
anonymous: true
|
||||
@@ -28,3 +26,4 @@ security:
|
||||
- { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||
- { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||
- { path: ^/admin, role: ROLE_SUPER_ADMIN }
|
||||
# - { path: ^/, role: ROLE_SUPER_ADMIN }
|
||||
|
||||
Reference in New Issue
Block a user