config.yml 565 B

123456789101112131415161718192021222324
  1. imports:
  2. - { resource: ./../config/framework.yml }
  3. doctrine:
  4. dbal:
  5. driver: pdo_sqlite
  6. memory: true
  7. charset: UTF8
  8. security:
  9. firewalls:
  10. test:
  11. pattern: ^/
  12. security: false
  13. acl:
  14. connection: default
  15. encoders:
  16. Symfony\Component\Security\Core\User\User: plaintext
  17. providers:
  18. in_memory:
  19. memory:
  20. users:
  21. kevin: { password: test, roles: [ROLE_USER] }
  22. anne: { password: test, roles: [ROLE_ADMIN]}