Private
Public Access
1
0

created working session and client handler w/ websocket

This commit is contained in:
2016-10-19 13:27:55 +02:00
parent fbfbe5a13b
commit 28f42db14a
10 changed files with 300 additions and 62 deletions

View File

@@ -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

View File

@@ -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 }