summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-06-02 21:03:10 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-06-02 21:03:10 -0400
commitefdc959c555872677e599d2ff12e1263d719f3f2 (patch)
treed1eb1e305ba613e4a64b604aab091b0c9f6e401e /app
parentb6b124aadde36b545b166049fde2cfbbc8b0a553 (diff)
Fix bug #108: useless require
Diffstat (limited to 'app')
-rw-r--r--app/Model/User.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/Model/User.php b/app/Model/User.php
index e651b5fd..6804d765 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;