Loading patches/023-patch_getbyemail.patch +5 −6 Original line number Diff line number Diff line --- ./lib/private/User/Manager.php 2023-02-03 17:18:44.729561986 +0530 +++ ./lib/private/User/Manager-new.php 2023-02-09 17:37:59.809738289 +0530 @@ -705,6 +705,20 @@ +++ ./lib/private/User/Manager-new.php 2023-02-09 19:35:34.309722378 +0530 @@ -705,6 +705,19 @@ * @since 9.1.0 */ public function getByEmail($email) { Loading @@ -13,11 +13,10 @@ + $uid = str_replace($alt_domain_suffix, '', $email); + } + + } + if ($this->get($uid)) { + return([$this->get($uid)]); + } + } + // looking for 'email' only (and not primary_mail) is intentional $userIds = $this->config->getUsersForUserValueCaseInsensitive('settings', 'email', $email); Loading
patches/023-patch_getbyemail.patch +5 −6 Original line number Diff line number Diff line --- ./lib/private/User/Manager.php 2023-02-03 17:18:44.729561986 +0530 +++ ./lib/private/User/Manager-new.php 2023-02-09 17:37:59.809738289 +0530 @@ -705,6 +705,20 @@ +++ ./lib/private/User/Manager-new.php 2023-02-09 19:35:34.309722378 +0530 @@ -705,6 +705,19 @@ * @since 9.1.0 */ public function getByEmail($email) { Loading @@ -13,11 +13,10 @@ + $uid = str_replace($alt_domain_suffix, '', $email); + } + + } + if ($this->get($uid)) { + return([$this->get($uid)]); + } + } + // looking for 'email' only (and not primary_mail) is intentional $userIds = $this->config->getUsersForUserValueCaseInsensitive('settings', 'email', $email);