diff options
author | jim-p <jimp@pfsense.org> | 2011-06-03 08:43:01 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-06-03 09:03:12 -0400 |
commit | 1591ea6fc80937e41e7345bfa139d2ae56d96cb4 (patch) | |
tree | fcc167ddb1b31d85bd31c590eb7d7506177481aa /usr | |
parent | 2f51259b4132ae163f0b99b7c623cb43c6ac31d8 (diff) | |
download | pfsense-1591ea6fc80937e41e7345bfa139d2ae56d96cb4.zip pfsense-1591ea6fc80937e41e7345bfa139d2ae56d96cb4.tar.gz |
Remove the warning message that a user doesn't have any CA/Certs when viewing OpenVPN connections. This is just confusing people, and isn't relevant to people using only shared key tunnels.
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/vpn_openvpn_client.php | 4 | ||||
-rw-r--r-- | usr/local/www/vpn_openvpn_server.php | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/usr/local/www/vpn_openvpn_client.php b/usr/local/www/vpn_openvpn_client.php index 4b9fc74..709b668 100644 --- a/usr/local/www/vpn_openvpn_client.php +++ b/usr/local/www/vpn_openvpn_client.php @@ -350,10 +350,6 @@ function autotls_change() { <?php if (!$savemsg) $savemsg = ""; -if (count($a_ca) == 0) - $savemsg .= "You have no Certificate Authorities defined. You must visit the <a href=\"system_camanager.php\">Certificate Manager</a> to make one."; -if (count($a_cert) == 0) - $savemsg .= "<br/>You have no Certificates defined. You must visit the <a href=\"system_camanager.php\">Certificate Manager</a> to make one."; if ($input_errors) print_input_errors($input_errors); diff --git a/usr/local/www/vpn_openvpn_server.php b/usr/local/www/vpn_openvpn_server.php index 4a24e2e..fbecf61 100644 --- a/usr/local/www/vpn_openvpn_server.php +++ b/usr/local/www/vpn_openvpn_server.php @@ -555,10 +555,6 @@ function netbios_change() { <?php if (!$savemsg) $savemsg = ""; -if (count($a_ca) == 0) - $savemsg .= "You have no Certificate Authorities defined. You can visit the <a href=\"system_camanager.php\">Certificate Manager</a> or use the <a href=\"wizard.php?xml=openvpn_wizard.xml\">Wizard.</a> to create one. "; -if (count($a_cert) == 0) - $savemsg .= "<br/>You have no Certificates defined. You can visit the <a href=\"system_camanager.php\">Certificate Manager</a> or use the <a href=\"wizard.php?xml=openvpn_wizard.xml\">Wizard.</a> to create one. "; if ($input_errors) print_input_errors($input_errors); |