Daniel@0: security: Daniel@0: firewalls: Daniel@0: secured_area: Daniel@0: pattern: ^/ Daniel@0: anonymous: false Daniel@0: http_basic: Daniel@0: realm: "Please enter login and password that were sent you via email" Daniel@0: Daniel@0: access_control: Daniel@0: - { path: ^/, roles: ROLE_USER } Daniel@0: # Include the following line to also secure the /admin path itself Daniel@0: # - { path: ^/admin$, roles: ROLE_ADMIN } Daniel@0: Daniel@0: providers: Daniel@0: in_memory: Daniel@0: memory: Daniel@0: users: Daniel@0: dml: { password: dev, roles: 'ROLE_USER' } Daniel@0: encoders: Daniel@0: Symfony\Component\Security\Core\User\User: plaintext