From e22fbef942966683e749b49f6b05095e59b018cb Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Sat, 25 Feb 2012 19:37:38 +0100 Subject: [PATCH] LSauthMethod : Disable cache searching user in LDAP --- public_html/includes/class/class.LSauthMethod.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public_html/includes/class/class.LSauthMethod.php b/public_html/includes/class/class.LSauthMethod.php index d45fb93f..8c0ac211 100644 --- a/public_html/includes/class/class.LSauthMethod.php +++ b/public_html/includes/class/class.LSauthMethod.php @@ -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);