Aplicación para gestionar el WiFi y punto de luz en puertos.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
972 B

  1. security:
  2. # https://symfony.com/doc/current/security/experimental_authenticators.html
  3. enable_authenticator_manager: true
  4. # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers
  5. providers:
  6. users_in_memory: { memory: null }
  7. firewalls:
  8. dev:
  9. pattern: ^/(_(profiler|wdt)|css|images|js)/
  10. security: false
  11. main:
  12. lazy: true
  13. provider: users_in_memory
  14. # activate different ways to authenticate
  15. # https://symfony.com/doc/current/security.html#firewalls-authentication
  16. # https://symfony.com/doc/current/security/impersonating_user.html
  17. # switch_user: true
  18. # Easy way to control access for large sections of your site
  19. # Note: Only the *first* access control that matches will be used
  20. access_control:
  21. # - { path: ^/admin, roles: ROLE_ADMIN }
  22. # - { path: ^/profile, roles: ROLE_USER }