From b7e0f347d4065df181a2308191a5cb02fcb1aaae Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Sat, 25 Jan 2025 10:51:52 +0100 Subject: [PATCH] fixup! MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen --- lib/private/User/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/User/Database.php b/lib/private/User/Database.php index 6cbcef9629e94..db092dc6ef8d4 100644 --- a/lib/private/User/Database.php +++ b/lib/private/User/Database.php @@ -374,7 +374,7 @@ public function checkPassword(string $loginName, string $password) { */ private function loadUser(string $loginName, bool $tryEmail = true): bool { if (isset($this->cache[$loginName])) { - return true; + return $this->cache[$loginName] !== false; } //guests $uid could be NULL or ''