mirror of
https://github.com/friendica/friendica
synced 2025-04-25 11:10:11 +00:00
Revert default password setting & using "HiddenString" even for empty strings
This commit is contained in:
parent
ab7c6499ff
commit
e1d135238a
3 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue