From fb5a4d866f110234f4ebb82513213bdfe3c2f9de Mon Sep 17 00:00:00 2001 From: Akhil Date: Thu, 1 May 2025 15:02:11 +0530 Subject: [PATCH] Correct the get-by-email patch --- patches/025-optimize-get-by-email.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/025-optimize-get-by-email.patch b/patches/025-optimize-get-by-email.patch index 172f23e2..29b51b66 100644 --- a/patches/025-optimize-get-by-email.patch +++ b/patches/025-optimize-get-by-email.patch @@ -16,7 +16,7 @@ Subject: [PATCH] To optimize getByEmail as we have boundary conditions that emai - $users = array_map(function ($uid) { - return $this->get($uid); - }, $userIds); -+ if(empty($mailDomain) && empty($altMailDomain)) { ++ if(empty($legacyDomain) && empty($mainDomain)) { + $userIds = $this->config->getUsersForUserValueCaseInsensitive('settings', 'email', $email); + $users = array_map(function ($uid) { -- GitLab