mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
VPN: IPsec: Pre-Shared Keys - add colon to supported characterlist for id fields. closes https://github.com/opnsense/core/issues/6727
This commit is contained in:
parent
8f51311423
commit
0ab0bf3095
@ -37,7 +37,7 @@
|
||||
<preSharedKey type="ArrayField">
|
||||
<ident type="TextField">
|
||||
<Required>Y</Required>
|
||||
<mask>/^([a-zA-Z0-9@\.\-]*)/u</mask>
|
||||
<mask>/^([a-zA-Z0-9@\.\:\-]*)/u</mask>
|
||||
<ValidationMessage>The identifier contains invalid characters.</ValidationMessage>
|
||||
<Constraints>
|
||||
<check001>
|
||||
@ -51,7 +51,7 @@
|
||||
</ident>
|
||||
<remote_ident type="TextField">
|
||||
<Required>N</Required>
|
||||
<mask>/^([a-zA-Z0-9@\.\-]*)/u</mask>
|
||||
<mask>/^([a-zA-Z0-9@\.\:\-]*)/u</mask>
|
||||
<ValidationMessage>The identifier contains invalid characters.</ValidationMessage>
|
||||
<Constraints>
|
||||
<reference>ident.check001</reference>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user