Revision e9ccd9b1
Added by Bryan Haase about 14 years ago
usr/local/www/vpn_ipsec_mobile.php | ||
---|---|---|
355 | 355 |
<td width="78%" class="vtable"> |
356 | 356 |
<?=gettext("Source"); ?>: |
357 | 357 |
<select name="user_source" class="formselect" id="user_source"> |
358 |
<option value="ldap"><?=gettext("ldap"); ?></option> |
|
358 |
<? |
|
359 |
foreach ($config['system']['authserver'] as $authcfg) { |
|
360 |
if ($authcfg['type'] == 'ldap') { |
|
361 |
print '<option value="ldap">ldap</option>'; |
|
362 |
} |
|
363 |
} |
|
364 |
?> |
|
359 | 365 |
<option value="system"><?=gettext("system"); ?></option> |
360 | 366 |
</select> |
361 | 367 |
</td> |
Also available in: Unified diff
More sanity checking