security/openconnect: allow @ in username (#848)

(cherry picked from commit 8b4d773224)
This commit is contained in:
Michael 2018-09-19 09:18:40 +02:00 committed by Franco Fichtner
parent 4484101424
commit 20d887b88e
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
PLUGIN_NAME= openconnect
PLUGIN_VERSION= 1.1
PLUGIN_VERSION= 1.2
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-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>
</user>
<password type="TextField">
<default>password</default>