Fix bug #108: useless require
This commit is contained in:
@@ -359,7 +359,6 @@ class User extends Base
|
|||||||
|
|
||||||
// LDAP authentication
|
// LDAP authentication
|
||||||
if (! $authenticated && LDAP_AUTH) {
|
if (! $authenticated && LDAP_AUTH) {
|
||||||
require __DIR__.'/ldap.php';
|
|
||||||
$ldap = new Ldap($this->db, $this->event);
|
$ldap = new Ldap($this->db, $this->event);
|
||||||
$authenticated = $ldap->authenticate($username, $password);
|
$authenticated = $ldap->authenticate($username, $password);
|
||||||
$method = LastLogin::AUTH_LDAP;
|
$method = LastLogin::AUTH_LDAP;
|
||||||
|
|||||||
Reference in New Issue
Block a user