Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # To get started with security, check out the documentation:
- # http://symfony.com/doc/current/security.html
- security:
- # http://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded
- providers:
- our_users:
- entity:
- class: AppBundle:User
- property: username
- firewalls:
- # disables authentication for assets and the profiler, adapt it according to your needs
- dev:
- pattern: ^/(_(profiler|wdt)|css|images|js)/
- security: false
- main:
- anonymous: ~
- guard:
- authenticators:
- - app.security.login_form_authenticator
- # activate different ways to authenticate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement