diff --git a/app/Model/User.php b/app/Model/User.php index e651b5fdc..6804d7653 100644 --- a/app/Model/User.php +++ b/app/Model/User.php @@ -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;