security/openconnect: allow username to be 64 characters long (#2739)

This commit is contained in:
Michael 2022-01-03 13:37:13 +01:00 committed by GitHub
parent 2791b5941d
commit 47988bc563
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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>