From e1dfa05f99398fcfd2788d18a8f79168dcefc4e2 Mon Sep 17 00:00:00 2001 From: Thorsten Rinne Date: Thu, 9 May 2024 09:04:48 +0200 Subject: [PATCH] fix: add log entry if something wents wrong --- phpmyfaq/src/phpMyFAQ/Auth/AuthLdap.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpmyfaq/src/phpMyFAQ/Auth/AuthLdap.php b/phpmyfaq/src/phpMyFAQ/Auth/AuthLdap.php index 2a9b94c819..cc3d46b9de 100644 --- a/phpmyfaq/src/phpMyFAQ/Auth/AuthLdap.php +++ b/phpmyfaq/src/phpMyFAQ/Auth/AuthLdap.php @@ -187,6 +187,7 @@ private function connect(int $activeServer = 0): void ); if ($this->ldap->error) { + $this->config->getLogger()->error($this->ldap->error); $this->errors[] = $this->ldap->error; } }