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 committed by backportbot-nextcloud[bot]
parent 56703e9187
commit a78b6767ec

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']