diff options
Diffstat (limited to 'pollutometer-php/app/config/security.yml')
-rw-r--r-- | pollutometer-php/app/config/security.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pollutometer-php/app/config/security.yml b/pollutometer-php/app/config/security.yml new file mode 100644 index 0000000..0e0b7cb --- /dev/null +++ b/pollutometer-php/app/config/security.yml @@ -0,0 +1,24 @@ +# To get started with security, check out the documentation: +# https://symfony.com/doc/current/security.html +security: + + # https://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded + providers: + in_memory: + memory: ~ + + firewalls: + # disables authentication for assets and the profiler, adapt it according to your needs + dev: + pattern: ^/(_(profiler|wdt)|css|images|js)/ + security: false + + main: + anonymous: ~ + # activate different ways to authenticate + + # https://symfony.com/doc/current/security.html#a-configuring-how-your-users-will-authenticate + #http_basic: ~ + + # https://symfony.com/doc/current/security/form_login_setup.html + #form_login: ~ |