mirror of
https://github.com/symfony/recipes.git
synced 2026-09-18 02:26:31 +03:00
Proposed a security.yaml file for the "test" environment (#131)
This commit is contained in:
@@ -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: ~
|
||||
Reference in New Issue
Block a user