Commit 428d6770 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

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

(cherry picked from commit 70445dcb)
parent ded69cf6
......@@ -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