diff options
author | jim-p <jimp@pfsense.org> | 2011-10-24 14:18:10 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-10-24 14:21:07 -0400 |
commit | 8f09682259325005a4b4b8c8fb6d9c6d26ee7dc5 (patch) | |
tree | 31715fa569a2ce560810aa750bf84495668d5275 /usr/local/www/system_authservers.php | |
parent | 9f07c3438db0f42036e10f221f20bbebd202c3df (diff) | |
download | pfsense-8f09682259325005a4b4b8c8fb6d9c6d26ee7dc5.zip pfsense-8f09682259325005a4b4b8c8fb6d9c6d26ee7dc5.tar.gz |
Don't run ldap_urlchange on page load if there is a custom port, otherwise it appears to ignore a custom LDAP port even when it's correct in the config.
Diffstat (limited to 'usr/local/www/system_authservers.php')
-rw-r--r-- | usr/local/www/system_authservers.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/system_authservers.php b/usr/local/www/system_authservers.php index 5fc0782..c0bfc4f 100644 --- a/usr/local/www/system_authservers.php +++ b/usr/local/www/system_authservers.php @@ -794,7 +794,8 @@ function select_clicked() { server_typechange('<?=htmlspecialchars($pconfig['type']);?>'); <?php if (!isset($id) || $pconfig['type'] == "ldap"): ?> ldap_bindchange(); -ldap_urlchange(); +if (document.getElementById("ldap_port").value == "") + ldap_urlchange(); <?php if (!isset($id)): ?> ldap_tmplchange(); <?php endif; ?> |