mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
(captiveportal, new) add allowedMACAddresses to model and form
This commit is contained in:
parent
808a260416
commit
dd2aa4901a
@ -65,6 +65,16 @@
|
||||
<help><![CDATA[Avoid authentication for the addresses and subnets in this list]]></help>
|
||||
<allownew>true</allownew>
|
||||
</field>
|
||||
<field>
|
||||
<id>zone.allowedMACAddresses</id>
|
||||
<label>allowed MAC addresses</label>
|
||||
<type>text</type>
|
||||
<type>select_multiple</type>
|
||||
<style>tokenize</style>
|
||||
<help><![CDATA[Avoid authentication for the physical addresses in this list]]></help>
|
||||
<allownew>true</allownew>
|
||||
<advanced>true</advanced>
|
||||
</field>
|
||||
<field>
|
||||
<id>zone.description</id>
|
||||
<label>description</label>
|
||||
|
||||
@ -60,7 +60,13 @@
|
||||
<allowedAddresses type="CSVListField">
|
||||
<Required>N</Required>
|
||||
<mask>/^([\/0-9.,])*/u</mask>
|
||||
<ValidationMessage>Please enter valid addresses</ValidationMessage>
|
||||
</allowedAddresses>
|
||||
<allowedMACAddresses type="CSVListField">
|
||||
<Required>N</Required>
|
||||
<mask>/^([0-9a-fA-F:,])*/u</mask>
|
||||
<ValidationMessage>Please enter valid mac addresses</ValidationMessage>
|
||||
</allowedMACAddresses>
|
||||
<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