diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-12-10 11:37:06 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-12-10 11:37:06 -0500 |
commit | a4ba0282e6cba7916e3955f2d44da9a902f80587 (patch) | |
tree | 0d72ed31459d4cc807ac2e8ec6795b2a74f45657 /src/usr/local/www/vpn_openvpn_client.php | |
parent | 4e322e2c189e18133324c933ad35f0735fab510f (diff) | |
download | pfsense-a4ba0282e6cba7916e3955f2d44da9a902f80587.zip pfsense-a4ba0282e6cba7916e3955f2d44da9a902f80587.tar.gz |
Fixed #5602 by dynamically updating hte help text based on the cert selected.
Diffstat (limited to 'src/usr/local/www/vpn_openvpn_client.php')
-rw-r--r-- | src/usr/local/www/vpn_openvpn_client.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/local/www/vpn_openvpn_client.php b/src/usr/local/www/vpn_openvpn_client.php index 496f6e0..19a9609 100644 --- a/src/usr/local/www/vpn_openvpn_client.php +++ b/src/usr/local/www/vpn_openvpn_client.php @@ -616,11 +616,13 @@ if($act=="new" || $act=="edit") : $pconfig['shared_key'] ))->setHelp('Paste your shared key here'); + $cl = openvpn_build_cert_list(true); + $section->addInput(new Form_Select( 'certref', 'Client Certificate', $pconfig['certref'], - openvpn_build_cert_list(true) + $cl['server'] )); $section->addInput(new Form_Select( |