Bugfixing empty password setting

This commit is contained in:
Philipp Holzer
2019-06-10 15:39:21 +02:00
parent 357d9b5108
commit 4666b18e5b
2 changed files with 18 additions and 1 deletions

View File

@@ -94,7 +94,8 @@ class ConfigCache implements IConfigCache, IPConfigCache
}
if ($this->hidePasswordOutput &&
$key == 'password') {
$key == 'password' &&
!empty($value)) {
$this->config[$cat][$key] = new HiddenString($value);
} else {
$this->config[$cat][$key] = $value;