Guest User

Untitled

a guest
Jan 24th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. security:
  2. encoders:
  3. Symfony\Component\Security\Core\User\User: plaintext
  4.  
  5. role_hierarchy:
  6. ROLE_ADMIN: ROLE_USER
  7.  
  8. providers:
  9. in_memory:
  10. users:
  11. user: { password: userpass, roles: [ 'ROLE_USER' ] }
  12.  
  13. firewalls:
  14. profiler:
  15. pattern: /_profiler.*
  16. security: false
  17.  
  18. wdt:
  19. pattern: /_wdt.*
  20. security: false
  21.  
  22. login:
  23. pattern: /login
  24. security: false
  25.  
  26. domain:
  27. pattern: /admin/.*
  28. http_basic: true
  29. form_login:
  30. check_path: /admin/login_check
  31. login_path: /login
  32. use_referer: false
  33. default_target_path: /admin/
  34. logout:
  35. path: /admin/logout
  36. target: /login
  37.  
  38. access_control:
  39. #- { path: /login, roles: IS_AUTHENTICATED_ANONYMOUSLY, requires_channel: https }
Add Comment
Please, Sign In to add comment