Bugfixing empty password setting
[friendica.git/.git] / src / Core / Config / Cache / ConfigCache.php
index 9aea367..c3cec19 100644 (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;