From 01b5c4b2f7b319f323cb3f4666086328f7173b5f Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Tue, 21 Jul 2020 23:50:36 +0000 Subject: [PATCH] [CONFIG] Change way configuration is done to use Symfony's system instead of environment vars --- .gitignore | 4 +++- config/services.yaml | 4 ++++ social.yaml | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 social.yaml diff --git a/.gitignore b/.gitignore index 942636b1ad..55c62b5398 100644 --- a/.gitignore +++ b/.gitignore @@ -35,6 +35,8 @@ docker/*/*.env docker-compose.yaml composer.local.json +social.local.yaml + # V2 config.php -/file \ No newline at end of file +/file diff --git a/config/services.yaml b/config/services.yaml index 018ee51514..710504346e 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -3,6 +3,10 @@ # Put parameters here that don't need to change on each machine where the app is deployed # https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration +imports: + - resource: '../social.yaml' + - resource: '../social.local.yaml' + parameters: services: diff --git a/social.yaml b/social.yaml new file mode 100644 index 0000000000..fd558e4cda --- /dev/null +++ b/social.yaml @@ -0,0 +1,3 @@ +parameters: + remember_me_httponly: true + remember_me_samesite: strict