From f09ae2b6d10cf6c7a6f6e2475a971c8a35da4a64 Mon Sep 17 00:00:00 2001 From: ralf Date: Thu, 17 Nov 2022 20:37:19 +0100 Subject: [PATCH] remove 2nd @ in error-message --- api/src/Accounts/Ads.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Accounts/Ads.php b/api/src/Accounts/Ads.php index bee6301c69..5c8c59a73e 100644 --- a/api/src/Accounts/Ads.php +++ b/api/src/Accounts/Ads.php @@ -1467,7 +1467,7 @@ class adLDAP extends \adLDAP public function getLastError() { $url = $this->useTLS ? 'ldaps://' : 'ldap://'; - if (!empty($this->adminUsername)) $url .= $this->adminUsername.'@'.$this->accountSuffix.'@'; + if (!empty($this->adminUsername)) $url .= $this->adminUsername.$this->accountSuffix.'@'; $url .= implode(',', $this->domainControllers); if (!empty($this->adPort)) $url .= ':'.$this->adPort;