summaryrefslogtreecommitdiff
path: root/app/Api/User.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Api/User.php')
-rw-r--r--app/Api/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Api/User.php b/app/Api/User.php
index 48337ac6..21feb4fa 100644
--- a/app/Api/User.php
+++ b/app/Api/User.php
@@ -71,7 +71,7 @@ class User extends \Kanboard\Core\Base
try {
$ldap = LdapClient::connect();
- $user = LdapUser::getUser($ldap, sprintf(LDAP_USER_FILTER, $username));
+ $user = LdapUser::getUser($ldap, $username);
if ($user === null) {
$this->logger->info('User not found in LDAP server');