Added support to dot terminating character to usernames

This commit is contained in:
MatteoBiscosi 2022-06-28 15:27:06 +02:00
parent e73e2c9fc6
commit 38cf16b772
3 changed files with 3 additions and 3 deletions

View file

@ -3073,7 +3073,7 @@ end
function getUsernameInputPattern()
-- maximum len must be kept in sync with MAX_PASSWORD_LEN
return [[^(?=[a-zA-Z0-9._@!-?]{3,30}$)(?!.*[_.]{2})[^_.].*[^_.]$]]
return [[^[a-zA-Z0-9._@!-?]{3,30}$]]
end
function getPasswordInputPattern()