security.yml 846 B

12345678910111213141516171819202122232425
  1. # To get started with security, check out the documentation:
  2. # https://symfony.com/doc/current/security.html
  3. security:
  4. # https://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded
  5. providers:
  6. in_memory:
  7. memory: ~
  8. firewalls:
  9. # disables authentication for assets and the profiler, adapt it according to your needs
  10. dev:
  11. pattern: ^/(_(profiler|wdt)|css|images|js)/
  12. security: false
  13. main:
  14. anonymous: ~
  15. logout_on_user_change: true
  16. # activate different ways to authenticate
  17. # https://symfony.com/doc/current/security.html#a-configuring-how-your-users-will-authenticate
  18. #http_basic: ~
  19. # https://symfony.com/doc/current/security/form_login_setup.html
  20. #form_login: ~