mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
OpenVPN, kill another spot of free text impossible to protect input (in the wizard). For the time being, an admin user could still change this after wizard execution in the server page.
This commit is contained in:
parent
d62015df1c
commit
b54a1cab8c
@ -635,7 +635,6 @@ function step12_submitphpaction()
|
||||
$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();
|
||||
|
||||
@ -919,14 +919,6 @@
|
||||
<bindstofield>wizardtemp->step10->wins2</bindstofield>
|
||||
<description>A Windows Internet Name Service (WINS) server to provide for connecting clients, which allows them to browse Windows shares. This is typically an Active Directory Domain Controller, designated WINS server, or Samba server.</description>
|
||||
</field>
|
||||
<field>
|
||||
<name>Advanced</name>
|
||||
<type>textarea</type>
|
||||
<cols>30</cols>
|
||||
<rows>5</rows>
|
||||
<description>Enter any additional options you would like 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>wizardtemp->step10->advanced</bindstofield>
|
||||
</field>
|
||||
<field>
|
||||
<name>Next</name>
|
||||
<type>submit</type>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user