Commit 70445dcb authored by Ad Schellevis's avatar Ad Schellevis

(captive portal) ensure case for mac addresses, closes https://github.com/opnsense/core/issues/760

parent c3358d74
......@@ -64,6 +64,7 @@
</allowedAddresses>
<allowedMACAddresses type="CSVListField">
<Required>N</Required>
<ChangeCase>lower</ChangeCase>
<mask>/^([0-9a-fA-F:,])*/u</mask>
<ValidationMessage>Please enter valid mac addresses</ValidationMessage>
</allowedMACAddresses>
......
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