mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/openconnect: allow username to be 64 characters long (#2739)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
PLUGIN_NAME= openconnect
|
||||
PLUGIN_VERSION= 1.4.1
|
||||
PLUGIN_VERSION= 1.4.2
|
||||
PLUGIN_COMMENT= OpenConnect Client
|
||||
PLUGIN_DEPENDS= openconnect
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
|
||||
@@ -6,6 +6,10 @@ the Juniper SSL VPN which is now known as Pulse Connect Secure.
|
||||
Plugin Changelog
|
||||
================
|
||||
|
||||
1.4.2
|
||||
|
||||
* Allow usernames up to 64 characters
|
||||
|
||||
1.4.1
|
||||
|
||||
* Allow selection of different protocols
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<model>
|
||||
<mount>//OPNsense/openconnect/general</mount>
|
||||
<description>Openconnect configuration</description>
|
||||
<version>1.0.2</version>
|
||||
<version>1.0.3</version>
|
||||
<items>
|
||||
<enabled type="BooleanField">
|
||||
<default>0</default>
|
||||
@@ -16,8 +16,8 @@
|
||||
<user type="TextField">
|
||||
<default>user</default>
|
||||
<Required>Y</Required>
|
||||
<mask>/^[a-zA-Z0-9.\@_-]{1,32}$/</mask>
|
||||
<ValidationMessage>Please provide a valid username. Allowed characters are a-zA-Z0-9._-@ and it has to be 1-32 characters long.</ValidationMessage>
|
||||
<mask>/^[a-zA-Z0-9.\@_-]{1,64}$/</mask>
|
||||
<ValidationMessage>Please provide a valid username. Allowed characters are a-zA-Z0-9._-@ and it has to be 1-64 characters long.</ValidationMessage>
|
||||
</user>
|
||||
<password type="TextField">
|
||||
<default>password</default>
|
||||
|
||||
Reference in New Issue
Block a user