Avoid double ldap_unbind in Wizard.php

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2022-10-11 09:54:04 +02:00
parent 0a9a749174
commit 1d2d6e864d
No known key found for this signature in database
GPG key ID: A3E2F658B28C760A

View file

@ -1093,7 +1093,6 @@ class Wizard extends LDAPUtility {
}
if ($login === true) {
$this->ldap->unbind($cr);
$this->logger->debug(
'Wiz: Bind successful to Port '. $port . ' TLS ' . (int)$tls,
['app' => 'user_ldap']