]> git.mxchange.org Git - friendica.git/commitdiff
Update use of PasswordExposed API
authorMatthew Exon <git.mexon@spamgourmet.com>
Sun, 14 Jan 2024 15:20:11 +0000 (16:20 +0100)
committerMatthew Exon <git.mexon@spamgourmet.com>
Sun, 14 Jan 2024 17:40:40 +0000 (18:40 +0100)
src/Model/User.php

index 2a8ce5330d43b2e3ca6ea3153d634d608eb38c79..88091f6006558809734ab8d9f32e885aa371401e 100644 (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(),