From fa32f347858ecaf712949e88a947780dbaa3229d Mon Sep 17 00:00:00 2001 From: Rich Lott / Artful Robot Date: Fri, 29 Sep 2023 14:35:32 +0100 Subject: [PATCH] standalone: fix login page not working --- ext/standaloneusers/Civi/Authx/Standalone.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standaloneusers/Civi/Authx/Standalone.php b/ext/standaloneusers/Civi/Authx/Standalone.php index 0eea52cc9f..f3156c5127 100644 --- a/ext/standaloneusers/Civi/Authx/Standalone.php +++ b/ext/standaloneusers/Civi/Authx/Standalone.php @@ -21,7 +21,7 @@ class Standalone implements AuthxInterface { public function checkPassword(string $username, string $password) { $security = Security::singleton(); $user = $security->loadUserByName($username); - return $security->checkPassword($password, $user['password'] ?? '') ? $user['id'] : NULL; + return $security->checkPassword($password, $user['hashed_password'] ?? '') ? $user['id'] : NULL; } /** -- 2.25.1