Bugfixing empty password setting

This commit is contained in:
Philipp Holzer 2019-06-10 15:39:21 +02:00
parent 357d9b5108
commit 4666b18e5b
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
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;