LSauthMethod : Disable cache searching user in LDAP
authorBenjamin Renard <bn8@zionetrix.net>
Sat, 25 Feb 2012 18:37:38 +0000 (19:37 +0100)
committerBenjamin Renard <bn8@zionetrix.net>
Sat, 25 Feb 2012 18:37:38 +0000 (19:37 +0100)
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);