summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstefanprobst <stefan.probst@univie.ac.at>2020-11-07 01:36:05 +0100
committerGitHub <noreply@github.com>2020-11-07 00:36:05 +0000
commitb8cc63fb83d567184cfd54a82df5b2af58ca018f (patch)
tree48a38e069fd6e72cb63974a9a0b1f96ad357a69d
parent6fd2227a3ddb7089d3949338157f3e532dd5c993 (diff)
fix: empty redis password must be string (#1232)
-rw-r--r--.config/redis.config.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/redis.config.php b/.config/redis.config.php
index 9429c901..a5fde3c7 100644
--- a/.config/redis.config.php
+++ b/.config/redis.config.php
@@ -1,11 +1,11 @@
<?php
if (getenv('REDIS_HOST')) {
- $CONFIG = array (
+ $CONFIG = array(
'memcache.distributed' => '\OC\Memcache\Redis',
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => getenv('REDIS_HOST'),
- 'password' => getenv('REDIS_HOST_PASSWORD'),
+ 'password' => (string) getenv('REDIS_HOST_PASSWORD'),
),
);