Rename checkPasswordExposed to isPasswordExposed
This commit is contained in:
parent
ca13570251
commit
701fd41463
2 changed files with 2 additions and 2 deletions
|
@ -390,7 +390,7 @@ function settings_post(App $a)
|
|||
$err = true;
|
||||
}
|
||||
|
||||
if (User::checkPasswordExposed($newpass)) {
|
||||
if (User::isPasswordExposed($newpass)) {
|
||||
notice(L10n::t('The new password has been exposed in a public data dump, please choose another.') . EOL);
|
||||
$err = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue