Advertisement
Guest User

Untitled

a guest
Jan 11th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. security:
  2.  
  3.  
  4.  
  5. # http://symfony.com/doc/current/book/security.html#where-do-users-come-from-user-providers
  6. providers:
  7. in_memory:
  8. memory:
  9. users:
  10. admin:
  11. password: $2y$12$7A7ucSLjvxfYGNbmY1cifOn3awqH9AKs3S6dLUIi4wAbvmqlJgv.u
  12. roles: ['ROLE_ADMIN','ROLE_USER']
  13. cedric:
  14. password: cedric
  15. roles: 'ROLE_USER'
  16.  
  17. encoders:
  18. Symfony\Component\Security\Core\User\User:
  19. algorithm: bcrypt
  20. cost: 12
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement