From f42bb7a4d269d963291026ed91bbc5a244a469ef Mon Sep 17 00:00:00 2001 From: Dmitrii Zolotov Date: Mon, 14 Mar 2016 21:35:39 +0600 Subject: [PATCH] Update Ldap.php --- PHPCI/Security/Authentication/UserProvider/Ldap.php | 1 - 1 file changed, 1 deletion(-) diff --git a/PHPCI/Security/Authentication/UserProvider/Ldap.php b/PHPCI/Security/Authentication/UserProvider/Ldap.php index 23b73aa9..dcc6fcd1 100644 --- a/PHPCI/Security/Authentication/UserProvider/Ldap.php +++ b/PHPCI/Security/Authentication/UserProvider/Ldap.php @@ -28,7 +28,6 @@ class Ldap extends AbstractProvider implements LoginPasswordProvider $mailAttribute = $config["mailAttribute"]; $ldap = ldap_connect($server); ldap_set_option($ldap, LDAP_OPT_PROTOCOL_VERSION, 3); - var_dump($mailAttribute."=".$user->getEmail()); $ls = ldap_search($ldap, $config["base"], $mailAttribute."=".$user->getEmail()); $le = ldap_get_entries($ldap, $ls); if ($le["count"]==0) return false;