config.yml 630 B

12345678910111213141516171819202122232425
  1. imports:
  2. - { resource: ./../config/framework.yml }
  3. security:
  4. encoders:
  5. Symfony\Component\Security\Core\User\User: plaintext
  6. providers:
  7. in_memory:
  8. memory:
  9. users:
  10. johannes: { password: test, roles: [ROLE_USER] }
  11. firewalls:
  12. default:
  13. form_login:
  14. check_path: login
  15. remember_me: true
  16. require_previous_session: false
  17. remember_me:
  18. always_remember_me: true
  19. secret: key
  20. logout: ~
  21. anonymous: ~
  22. stateless: true