Remove Advanced box from OpenVPN Wizard. Issue #9511

This commit is contained in:
jim-p 2019-05-13 08:33:45 -04:00
parent 18c1de4133
commit b8ca6554d0
2 changed files with 0 additions and 9 deletions

View File

@ -595,7 +595,6 @@ function step12_submitphpaction() {
if (strlen($pconfig['step10']['descr']) > 30)
$pconfig['step10']['descr'] = substr($pconfig['step10']['descr'], 0, 30);
$server['description'] = $pconfig['step10']['descr'];
$server['custom_options'] = $pconfig['step10']['advanced'];
if (isset($pconfig['step10']['tlsauth'])) {
if (isset($pconfig['step10']['gentlskey']))
$tlskey = openvpn_create_key();

View File

@ -1052,14 +1052,6 @@
<bindstofield>ovpnserver->step10->wins2</bindstofield>
<description>A Windows Internet Name Service (WINS) server IP to provide to connecting clients. Not desirable in most all modern networks.</description>
</field>
<field>
<name>Advanced</name>
<type>textarea</type>
<cols>30</cols>
<rows>5</rows>
<description>Enter any additional options to add to the OpenVPN server configuration here, separated by a semicolon. EXAMPLE: push "route 10.0.0.0 255.255.255.0"</description>
<bindstofield>ovpnserver->step10->advanced</bindstofield>
</field>
<field>
<name>Next</name>
<type>submit</type>