mirror of
https://github.com/opnsense/core.git
synced 2026-05-28 04:34:51 -04:00
VPN: IPsec: Pre-Shared Keys - allow underscores in identifiers, closes https://github.com/opnsense/core/issues/9276
This commit is contained in:
parent
b67e4f91e5
commit
5c845f4b6d
1 changed files with 2 additions and 2 deletions
|
|
@ -197,7 +197,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>
|
||||
|
|
@ -210,7 +210,7 @@
|
|||
</Constraints>
|
||||
</ident>
|
||||
<remote_ident type="TextField">
|
||||
<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…
Reference in a new issue