mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
(captiveportal, new) add list of allowed Addresses to model and form
This commit is contained in:
parent
85b38f6778
commit
12bcf31ddd
@ -56,6 +56,15 @@
|
||||
<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>
|
||||
</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>
|
||||
<id>zone.description</id>
|
||||
<label>description</label>
|
||||
|
||||
@ -57,6 +57,10 @@
|
||||
<mask>/^([0-9a-zA-Z.,_\-]){0,1024}$/u</mask>
|
||||
<ValidationMessage>Please enter a valid servername, ip address or leave this option blank</ValidationMessage>
|
||||
</servername>
|
||||
<allowedAddresses type="CSVListField">
|
||||
<Required>N</Required>
|
||||
<mask>/^([\/0-9.,])*/u</mask>
|
||||
</allowedAddresses>
|
||||
<description type="TextField">
|
||||
<Required>Y</Required>
|
||||
<mask>/^([\t\n\v\f\r 0-9a-zA-Z.,_\x{00A0}-\x{FFFF}]){1,255}$/u</mask>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user