feat: simplify .env

This commit is contained in:
Maël Gangloff
2024-08-04 21:21:08 +02:00
parent 239e924316
commit 8e1162640d
2 changed files with 1 additions and 2 deletions

1
.env
View File

@@ -59,7 +59,6 @@ LOCK_DSN=flock
MAILER_SENDER_EMAIL=notifications@example.com
LIMITED_FEATURES=false
OAUTH_ENABLED=false
OAUTH_CLIENT_ID=
OAUTH_CLIENT_SECRET=
OAUTH_AUTHORIZATION_URL=

View File

@@ -5,7 +5,7 @@
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
parameters:
mailer_sender_email: '%env(string:MAILER_SENDER_EMAIL)%'
oauth_enabled: '%env(bool:OAUTH_ENABLED)%'
oauth_enabled: '%env(OAUTH_CLIENT_ID)%'
limited_features: '%env(bool:LIMITED_FEATURES)%'
services: