Fix bug #108: useless require

This commit is contained in:
Frédéric Guillot 2014-06-02 21:03:10 -04:00
parent b6b124aadd
commit efdc959c55
1 changed files with 0 additions and 1 deletions

View File

@ -359,7 +359,6 @@ class User extends Base
// LDAP authentication
if (! $authenticated && LDAP_AUTH) {
require __DIR__.'/ldap.php';
$ldap = new Ldap($this->db, $this->event);
$authenticated = $ldap->authenticate($username, $password);
$method = LastLogin::AUTH_LDAP;