Update use of PasswordExposed API

pull/13832/head
Matthew Exon 2024-01-14 16:20:11 +01:00
parent 2b8126b780
commit 921bf15419
1 changed files with 1 additions and 1 deletions

View File

@ -864,7 +864,7 @@ class User
try {
$passwordExposedChecker = new PasswordExposed\PasswordExposedChecker(null, $cache);
return $passwordExposedChecker->passwordExposed($password) === PasswordExposed\PasswordStatus::EXPOSED;
return $passwordExposedChecker->passwordExposed($password) === PasswordExposed\Enums\PasswordStatus::EXPOSED;
} catch (Exception $e) {
Logger::error('Password Exposed Exception: ' . $e->getMessage(), [
'code' => $e->getCode(),