Commit 12bcf31d authored by Ad Schellevis's avatar Ad Schellevis

(captiveportal, new) add list of allowed Addresses to model and form

parent 85b38f67
...@@ -56,6 +56,15 @@ ...@@ -56,6 +56,15 @@
<type>text</type> <type>text</type>
<help><![CDATA[Hostname (of this machine) to redirect login page to, leave blank to use this interface IP address, otherwise make sure the client can access DNS to resolve this location. When using a SSL certificate, make sure both this name and the cert name are equal.]]></help> <help><![CDATA[Hostname (of this machine) to redirect login page to, leave blank to use this interface IP address, otherwise make sure the client can access DNS to resolve this location. When using a SSL certificate, make sure both this name and the cert name are equal.]]></help>
</field> </field>
<field>
<id>zone.allowedAddresses</id>
<label>allowed addresses</label>
<type>text</type>
<type>select_multiple</type>
<style>tokenize</style>
<help><![CDATA[Avoid authentication for the addresses and subnets in this list]]></help>
<allownew>true</allownew>
</field>
<field> <field>
<id>zone.description</id> <id>zone.description</id>
<label>description</label> <label>description</label>
......
...@@ -57,6 +57,10 @@ ...@@ -57,6 +57,10 @@
<mask>/^([0-9a-zA-Z.,_\-]){0,1024}$/u</mask> <mask>/^([0-9a-zA-Z.,_\-]){0,1024}$/u</mask>
<ValidationMessage>Please enter a valid servername, ip address or leave this option blank</ValidationMessage> <ValidationMessage>Please enter a valid servername, ip address or leave this option blank</ValidationMessage>
</servername> </servername>
<allowedAddresses type="CSVListField">
<Required>N</Required>
<mask>/^([\/0-9.,])*/u</mask>
</allowedAddresses>
<description type="TextField"> <description type="TextField">
<Required>Y</Required> <Required>Y</Required>
<mask>/^([\t\n\v\f\r 0-9a-zA-Z.,_\x{00A0}-\x{FFFF}]){1,255}$/u</mask> <mask>/^([\t\n\v\f\r 0-9a-zA-Z.,_\x{00A0}-\x{FFFF}]){1,255}$/u</mask>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment