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