More login processing fixes
This commit is contained in:
@@ -374,17 +374,6 @@ class ldap_pla extends ldap {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the time left in seconds until this connection times out. If there is not timeout,
|
||||
* this function will return null.
|
||||
*/
|
||||
public function inactivityTime() {
|
||||
if ($this->isLoggedIn() && ! in_array($this->getAuthType(),array('config','http')))
|
||||
return time()+($this->getValue('login','timeout')*60);
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add objects
|
||||
*/
|
||||
|
Reference in New Issue
Block a user