Skip to content

Commit

Permalink
Changed the test as requested - https://github.com/nextcloud/server/p…
Browse files Browse the repository at this point in the history
  • Loading branch information
zenlord committed Sep 2, 2022
1 parent e1c7d8e commit b13e69e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/user_ldap/lib/Wizard.php
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@ private function getPortSettingsToTry() {
$portSettings[] = ['port' => $port, 'tls' => true];
}
$portSettings[] = ['port' => $port, 'tls' => false];
} elseif ($port === 0) {
} elseif ($this->configuration->usesLdapi()) {
$portSettings[] = ['port' => '', 'tls' => false];
}

Expand Down

0 comments on commit b13e69e

Please sign in to comment.