Commit bd3a4f99 authored by sylvieg's avatar sylvieg

[FIX]ldap: missing global - that was failing openldap auth

parent f978d20d
......@@ -154,6 +154,7 @@ class TikiLdapLib
// Do a ldap bind
public function bind() {
global $prefs;
if($this->ldaplink instanceof Net_LDAP2) {
return (true); // do not try to reconnect since this may lead to huge timeouts
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment