Allow spaces in password fields

Fixes #2732
This commit is contained in:
emanuele-f 2019-08-01 11:11:40 +02:00
parent 560199b825
commit ba91b62f0a
2 changed files with 2 additions and 2 deletions

View file

@ -2268,7 +2268,7 @@ function hasKey(key, theTable)
end
function getPasswordInputPattern()
-- maximum len must be kept in sync with MAX_PASSWORD_LEN
return [[^[\w\$\\!\/\(\)=\?\^\*@_\-\u0000-\u0019\u0021-\u00ff]{5,31}$]]
return [[^[\w\$\\!\/\(\)= \?\^\*@_\-\u0000-\u0019\u0021-\u00ff]{5,31}$]]
end
function getIPv4Pattern()