Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- security:
- firewalls:
- login_firewall:
- pattern: ^/admin/login$
- anonymous: ~
- secured_area:
- pattern: ^/admin
- form_login:
- login_path: /admin/login
- check_path: /admin/login_check
- access_control:
- - { path: ^/admin, roles: ROLE_ADMIN }
- providers:
- in_memory:
- users:
- ryan: { password: ryanpass, roles: 'ROLE_USER' }
- admin: { password: kitten, roles: 'ROLE_ADMIN' }
- encoders:
- Symfony\Component\Security\Core\User\User: plaintext
Add Comment
Please, Sign In to add comment