Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
Co-authored-by: Côme Chilliet <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux and come-nc authored Jan 25, 2025
1 parent 5536284 commit b7e0f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/User/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ''
Expand Down

0 comments on commit b7e0f34

Please sign in to comment.