Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # app/config/security.yml
- security:
- firewalls:
- secured_area:
- pattern: ^/
- anonymous: ~
- http_basic:
- realm: "Secured Demo Area"
- access_control:
- - { path: ^/admin, roles: ROLE_ADMIN }
- providers:
- in_memory:
- users:
- ryan: { password: ryanpass, roles: 'ROLE_USER' }
- admin: { password: kitten, roles: 'ROLE_ADMIN' }
- encoders:
- SymfonyComponentSecurityCoreUserUser: plaintext
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement