mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-10 19:34:25 +02: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