mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:10:13 +00:00
Bugfixing wrong typed password setting
This commit is contained in:
parent
4666b18e5b
commit
50d8dbb123
2 changed files with 28 additions and 5 deletions
|
@ -95,8 +95,8 @@ class ConfigCache implements IConfigCache, IPConfigCache
|
|||
|
||||
if ($this->hidePasswordOutput &&
|
||||
$key == 'password' &&
|
||||
!empty($value)) {
|
||||
$this->config[$cat][$key] = new HiddenString($value);
|
||||
!empty($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