diff options
author | Bryan Haase <bryan.haase@gmail.com> | 2011-07-22 09:18:20 -0500 |
---|---|---|
committer | Bryan Haase <bryan.haase@gmail.com> | 2011-07-22 09:18:20 -0500 |
commit | e9ccd9b1cb91ef975a11429ec6bc08c1c149c11d (patch) | |
tree | a5fde78ae6db87fe10d867da545ae48d525963e8 /usr/local/www/vpn_ipsec_mobile.php | |
parent | 64f3141f5fdb26e5d68cc4e3a93390062d50c462 (diff) | |
download | pfsense-e9ccd9b1cb91ef975a11429ec6bc08c1c149c11d.zip pfsense-e9ccd9b1cb91ef975a11429ec6bc08c1c149c11d.tar.gz |
More sanity checking
Diffstat (limited to 'usr/local/www/vpn_ipsec_mobile.php')
-rwxr-xr-x | usr/local/www/vpn_ipsec_mobile.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec_mobile.php b/usr/local/www/vpn_ipsec_mobile.php index 281ee5e..34b72d1 100755 --- a/usr/local/www/vpn_ipsec_mobile.php +++ b/usr/local/www/vpn_ipsec_mobile.php @@ -355,7 +355,13 @@ function login_banner_change() { <td width="78%" class="vtable"> <?=gettext("Source"); ?>: <select name="user_source" class="formselect" id="user_source"> - <option value="ldap"><?=gettext("ldap"); ?></option> + <? + foreach ($config['system']['authserver'] as $authcfg) { + if ($authcfg['type'] == 'ldap') { + print '<option value="ldap">ldap</option>'; + } + } + ?> <option value="system"><?=gettext("system"); ?></option> </select> </td> |