diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-03-27 18:44:03 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-03-27 18:44:03 -0400 |
commit | febbd8cace0770930b08c01a4d07a2efbb959fd2 (patch) | |
tree | 5b894e88d105321ea3748ef7c6eab6b0f65fa8d8 /app/Api | |
parent | d0a0be89f2a774e5438fe844d69541fecb5cafc4 (diff) |
Check if LDAP logger is defined
Diffstat (limited to 'app/Api')
-rw-r--r-- | app/Api/User.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Api/User.php b/app/Api/User.php index 9b8081d6..6ee935a3 100644 --- a/app/Api/User.php +++ b/app/Api/User.php @@ -87,6 +87,7 @@ class User extends \Kanboard\Core\Base try { $ldap = LdapClient::connect(); + $ldap->setLogger($this->logger); $user = LdapUser::getUser($ldap, $username); if ($user === null) { |