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 Côme Chilliet (Rebase PR Action)
parent 29be674b5d
commit 07155246d3

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