Skip to content

Commit

Permalink
Avoid double ldap_unbind in Wizard.php
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
  • Loading branch information
come-nc committed Oct 13, 2022
1 parent 07defcf commit 80158a8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion apps/user_ldap/lib/Wizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,6 @@ private function connectAndBind($port, $tls) {
}

if ($login === true) {
$this->ldap->unbind($cr);
$this->logger->debug(
'Wiz: Bind successful to Port '. $port . ' TLS ' . (int)$tls,
['app' => 'user_ldap']
Expand Down

0 comments on commit 80158a8

Please sign in to comment.