Proposed a security.yaml file for the "test" environment (#131)

This commit is contained in:
Javier Eguiluz
2017-10-03 17:53:39 -07:00
committed by Symfony
parent 9fae4234e4
commit bf020aa4e6
2 changed files with 8 additions and 0 deletions
@@ -6,6 +6,7 @@ security:
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false
# if you change the name of the firewall, update it in the packages/test/security.yaml file too
main:
anonymous: ~
@@ -0,0 +1,7 @@
# This configuration simplifies testing URLs protected by the security mechanism
# See https://symfony.com/doc/current/cookbook/testing/http_authentication.html
security:
firewalls:
# replace 'main' by the name of your own firewall
main:
http_basic: ~