view app/config/security.yml.http-dml.dist @ 1:f38015048f48 tip

Added GPL
author Daniel Wolff
date Sat, 13 Feb 2016 20:43:38 +0100
parents 493bcb69166c
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