From ed01011dfb563e7d8ab13b6a0718eed7bf857880 Mon Sep 17 00:00:00 2001 From: Marcin Zelent Date: Fri, 16 Mar 2018 17:48:44 +0100 Subject: Moved PHP website to separate directory. --- pollutometer-php/app/config/security.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pollutometer-php/app/config/security.yml (limited to 'pollutometer-php/app/config/security.yml') 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: ~ -- cgit v1.2.3