diff --git a/api/src/Accounts/Ads.php b/api/src/Accounts/Ads.php index cbd7e853f2..4d3c764d06 100644 --- a/api/src/Accounts/Ads.php +++ b/api/src/Accounts/Ads.php @@ -1558,7 +1558,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;