RedisConfigForm: Properly store password of 2nd redis

fixes #670
This commit is contained in:
Johannes Meyer 2022-11-02 14:21:20 +01:00
parent d96abe2099
commit 992eebba3b

View file

@ -407,6 +407,7 @@ class RedisConfigForm extends ConfigForm
$redis2Host = $this->getValue('redis2_host');
$redis2Port = $this->getValue('redis2_port');
$redis2Password = $this->getValue('redis2_password');
$redis2Section = $connectionConfig->getSection('redis2');
if (! empty($redis2Host)) {
$redis2Section['host'] = $redis2Host;