From 921bf15419a6a18f2a027525e9ce1010ae489235 Mon Sep 17 00:00:00 2001 From: Matthew Exon Date: Sun, 14 Jan 2024 16:20:11 +0100 Subject: [PATCH] Update use of PasswordExposed API --- src/Model/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/User.php b/src/Model/User.php index 2a8ce5330d..88091f6006 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(), -- 2.39.5