Skip to content

Commit

Permalink
security/openconnect: allow username to be 64 characters long (opnsen…
Browse files Browse the repository at this point in the history
  • Loading branch information
mimugmail authored Jan 3, 2022
1 parent 2791b59 commit 47988bc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion security/openconnect/Makefile
Original file line number Diff line number Diff line change
@@ -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= [email protected]
Expand Down
4 changes: 4 additions & 0 deletions security/openconnect/pkg-descr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit 47988bc

Please sign in to comment.