mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
ipsec: require pool name, otherwise empty is allowed (multiple times)
The required property gives clarity to the unique constraint which allowe this only once before but now a number of times. Also update the mask to make it more obvious.
This commit is contained in:
parent
b2b26a18f4
commit
e5cbf948a1
@ -314,7 +314,8 @@
|
||||
<Required>Y</Required>
|
||||
</enabled>
|
||||
<name type="TextField">
|
||||
<mask>/^([0-9a-zA-Z\.,_\-:]){0,1024}$/u</mask>
|
||||
<Required>Y</Required>
|
||||
<mask>/^([0-9a-zA-Z\.,_\-:]){1,1024}$/u</mask>
|
||||
<Constraints>
|
||||
<check001>
|
||||
<ValidationMessage>Pool name must be unique.</ValidationMessage>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user