diff --git a/apps/user_ldap/lib/User_LDAP.php b/apps/user_ldap/lib/User_LDAP.php index e973cbaa503dd..97255f04d7e0c 100644 --- a/apps/user_ldap/lib/User_LDAP.php +++ b/apps/user_ldap/lib/User_LDAP.php @@ -712,7 +712,6 @@ public function getUserFromCustomAttribute(string $attribute, string $searchTerm $filter = "($attribute=$searchTerm)"; $records = $this->access->searchUsers($filter, ['dn']); - $this->logger->error($filter); if (count($records) === 1) { return $this->access->dn2username($records[0]['dn'][0]) ?: null; } elseif (count($records) > 1) {