LSauthMethod : Disable cache searching user in LDAP
[ldapsaisie.git] / public_html / includes / class / class.LSauthMethod.php
index d45fb93..8c0ac21 100644 (file)
@@ -60,7 +60,8 @@ class LSauthMethod {
                        $result = $authobject -> searchObject(
                                $this -> authData['username'],
                                LSsession :: getTopDn(),
-                               (isset(LSsession :: $ldapServer['authObjectFilter'])?LSsession :: $ldapServer['authObjectFilter']:NULL)
+                               (isset(LSsession :: $ldapServer['authObjectFilter'])?LSsession :: $ldapServer['authObjectFilter']:NULL),
+                               array('withoutCache' => true)
                        );
                        $nbresult=count($result);