From 2b707b3c7b7bdb93cff924804afae4a3cd43c4a0 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Mon, 30 Sep 2024 18:32:42 +0200 Subject: [PATCH] Re-add fixed APP_SECRET value --- .env.local.demo | 3 +++ composer.json | 1 + 2 files changed, 4 insertions(+) create mode 100644 .env.local.demo diff --git a/.env.local.demo b/.env.local.demo new file mode 100644 index 000000000..d79c676ae --- /dev/null +++ b/.env.local.demo @@ -0,0 +1,3 @@ +# This variable is for the demo app only! +# See https://symfony.com/doc/current/reference/configuration/framework.html#configuration-framework-secret +APP_SECRET=not-a-secret--read-the-doc! diff --git a/composer.json b/composer.json index aac55c6a9..2574f522e 100644 --- a/composer.json +++ b/composer.json @@ -91,6 +91,7 @@ }, "scripts": { "auto-scripts": { + "-r \"@rename('.env.local.demo', '.env.local');\"": "php-script", "cache:clear": "symfony-cmd", "assets:install %PUBLIC_DIR%": "symfony-cmd", "importmap:install": "symfony-cmd",