security/openconnect: allow upper-case characters for username (#900)

This commit is contained in:
Michael 2018-10-08 14:08:03 +02:00 committed by Franco Fichtner
parent a2c119ef97
commit 87cc28f826
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
PLUGIN_NAME= openconnect
PLUGIN_VERSION= 1.2
PLUGIN_REVISION= 1
PLUGIN_COMMENT= OpenConnect Client
PLUGIN_DEPENDS= openconnect
PLUGIN_MAINTAINER= m.muenz@gmail.com

View file

@ -16,8 +16,8 @@
<user type="TextField">
<default>user</default>
<Required>Y</Required>
<mask>/^[a-z0-9.\@_-]{1,32}$/</mask>
<ValidationMessage>Please provide a valid username. Allowed characters are a-z0-9._-@ and it has to be 1-32 characters long.</ValidationMessage>
<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>
</user>
<password type="TextField">
<default>password</default>