Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- security:
- encoders:
- Symfony\Component\Security\Core\User\User: plaintext
- Hybrid\UserBundle\Entity\User:
- algorithm: sha1
- providers:
- main:
- providers: [database, memory]
- database:
- entity: { class: Hybrid\UserBundle\Entity\User, property: email }
- memory:
- users:
- admin: { password: adminpass, roles: [ 'ROLE_ADMIN' ] }
- firewalls:
- profiler:
- pattern: ^/_profiler
- security: false
- wdt:
- pattern: ^/_wdt
- security: false
- login:
- pattern: ^/login$
- security: false
- application:
- pattern: ^/
- form_login:
- login_path: /login # Here's the form
- check_path: /login/process # Here's the login functionality
- username_parameter: _identity
- always_use_default_target_path: true
- default_target_path: /about
- logout:
- path: /logout
- target: /
- access_control:
- #- { path: /login, roles: IS_AUTHENTICATED_ANONYMOUSLY, requires_channel: https }
Add Comment
Please, Sign In to add comment