Skip to content

Instantly share code, notes, and snippets.

@jim-p
Created March 21, 2019 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jim-p/45815a84b20d6616987ec692753f6ad0 to your computer and use it in GitHub Desktop.
Save jim-p/45815a84b20d6616987ec692753f6ad0 to your computer and use it in GitHub Desktop.
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