aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/lib/User_Proxy.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/User_Proxy.php b/apps/user_ldap/lib/User_Proxy.php
index 0dd62ccce8f..96cd7b47637 100644
--- a/apps/user_ldap/lib/User_Proxy.php
+++ b/apps/user_ldap/lib/User_Proxy.php
@@ -471,7 +471,8 @@ class User_Proxy extends Proxy implements IUserBackend, UserInterface, IUserLDAP
fn (OfflineUser $user): bool =>
mb_stripos($user->getOCName(), $search) !== false ||
mb_stripos($user->getUID(), $search) !== false ||
- mb_stripos($user->getDisplayName(), $search) !== false,
+ mb_stripos($user->getDisplayName(), $search) !== false ||
+ mb_stripos($user->getEmail(), $search) !== false,
);
}
return array_map(