summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/auth.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 29a698c..1e6f26a 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -1027,7 +1027,7 @@ function ldap_backed($username, $passwd, $authcfg) {
if ($ldapanon == true) {
if (!($res = @ldap_bind($ldap)))
$error = true;
- } else if (!($res = ldap_bind($ldap, $ldapbindun, $ldapbindpw)))
+ } else if (!($res = @ldap_bind($ldap, $ldapbindun, $ldapbindpw)))
$error = true;
if ($error == true) {
OpenPOWER on IntegriCloud