mirror of
https://github.com/friendica/friendica
synced 2024-12-14 02:46:08 +01:00
Use Config wrapper instead of direct config retrieval
This commit is contained in:
parent
fd9171a40e
commit
cd7993f869
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ function settings_post(App $a)
|
|||
$err = true;
|
||||
}
|
||||
|
||||
if (!$a->getConfigValue('system', 'disable_password_exposed', false) && User::isPasswordExposed($newpass)) {
|
||||
if (!Config::get('system', 'disable_password_exposed', false) && User::isPasswordExposed($newpass)) {
|
||||
notice(L10n::t('The new password has been exposed in a public data dump, please choose another.') . EOL);
|
||||
$err = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue