Revert default password setting & using "HiddenString" even for empty strings
This commit is contained in:
@@ -95,7 +95,7 @@ class ConfigCache implements IConfigCache, IPConfigCache
|
||||
|
||||
if ($this->hidePasswordOutput &&
|
||||
$key == 'password' &&
|
||||
!empty($value) && is_string($value)) {
|
||||
is_string($value)) {
|
||||
$this->config[$cat][$key] = new HiddenString((string) $value);
|
||||
} else {
|
||||
$this->config[$cat][$key] = $value;
|
||||
|
||||
Reference in New Issue
Block a user