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

This commit is contained in:
Michael
2018-09-19 09:18:40 +02:00
committed by Franco Fichtner
parent d8c2a54776
commit 8b4d773224
2 changed files with 3 additions and 3 deletions
+1 -1
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
@@ -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>