From: Matthew Exon Date: Sun, 14 Jan 2024 15:20:11 +0000 (+0100) Subject: Update use of PasswordExposed API X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=921bf15419a6a18f2a027525e9ce1010ae489235;p=friendica.git Update use of PasswordExposed API --- 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(),