mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Supress the error message if the ldap bind doesnt happen
This commit is contained in:
parent
9af5f4591d
commit
323dc2e792
@ -1059,7 +1059,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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user