From bf557877d13c7d1efe36b91ead250e426ab5462b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ma=CC=88der?= Date: Mon, 13 Aug 2018 13:16:10 -0700 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Read=20redis=20password=20like=20an?= =?UTF-8?q?y=20other=20secret?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configuration/configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/configuration.py b/configuration/configuration.py index 4154092..d269981 100644 --- a/configuration/configuration.py +++ b/configuration/configuration.py @@ -147,7 +147,7 @@ WEBHOOKS_ENABLED = os.environ.get('WEBHOOKS_ENABLED', 'True').lower() == 'true' REDIS = { 'HOST': os.environ.get('REDIS_HOST', 'localhost'), 'PORT': os.environ.get('REDIS_PORT', '6379'), - 'PASSWORD': os.environ.get('REDIS_PASSWORD', ''), + 'PASSWORD': os.environ.get('REDIS_PASSWORD', read_secret('redis_password')), 'DATABASE': os.environ.get('REDIS_DATABASE', '0'), 'DEFAULT_TIMEOUT': os.environ.get('REDIS_TIMEOUT', '300'), }