diff --git a/src/Model/User.php b/src/Model/User.php index d321002ae5..f90d60c3cd 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -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(),