view app/config/security.yml.http-dml.dist @ 0:493bcb69166c

added public content
author Daniel Wolff
date Tue, 09 Feb 2016 20:54:02 +0100
parents
children
line wrap: on
line source
security:
    firewalls:
        secured_area:
            pattern:   ^/
            anonymous: false
            http_basic:
                realm: "Please enter login and password that were sent you via email"
  
    access_control: 
        - { path: ^/, roles: ROLE_USER }
          # Include the following line to also secure the /admin path itself
          # - { path: ^/admin$, roles: ROLE_ADMIN }
  
    providers:
        in_memory:
            memory:
                users:
                    dml:  { password: dev, roles: 'ROLE_USER' }
    encoders:
        Symfony\Component\Security\Core\User\User: plaintext