Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/src/usr/local/www/system_authservers.php b/src/usr/local/www/system_authservers.php
index 297d2cf348..42ab9ad81b 100644
--- a/src/usr/local/www/system_authservers.php
+++ b/src/usr/local/www/system_authservers.php
@@ -308,9 +308,7 @@ if ($_POST['save']) {
if (!empty($pconfig['ldap_caref'])) {
$server['ldap_caref'] = $pconfig['ldap_caref'];
}
- if (!empty($pconfig['ldap_certref'])) {
- $server['ldap_certref'] = $pconfig['ldap_certref'];
- }
+ $server['ldap_certref'] = $pconfig['ldap_certref'];
$server['host'] = $pconfig['ldap_host'];
$server['ldap_port'] = $pconfig['ldap_port'];
$server['ldap_urltype'] = $pconfig['ldap_urltype'];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.