mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Support for longer username of email accounts
This commit is contained in:
parent
40f8c5c5c7
commit
818745df1b
1 changed files with 1 additions and 1 deletions
|
@ -525,7 +525,7 @@ is_user_format_valid() {
|
|||
check_result $E_INVALID "invalid $2 format :: $1"
|
||||
fi
|
||||
else
|
||||
if ! [[ "$1" =~ ^[[:alnum:]][-|\.|_[:alnum:]]{0,28}[[:alnum:]]$ ]]
|
||||
if ! [[ "$1" =~ ^[[:alnum:]][-|\.|_[:alnum:]]{0,64}[[:alnum:]]$ ]]
|
||||
then
|
||||
check_result $E_INVALID "invalid $2 format :: $1"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue