mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 13:24:25 -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"
|
check_result $E_INVALID "invalid $2 format :: $1"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if ! [[ "$1" =~ ^[[:alnum:]][-|\.|_[:alnum:]]{0,28}[[:alnum:]]$ ]]
|
if ! [[ "$1" =~ ^[[:alnum:]][-|\.|_[:alnum:]]{0,64}[[:alnum:]]$ ]]
|
||||||
then
|
then
|
||||||
check_result $E_INVALID "invalid $2 format :: $1"
|
check_result $E_INVALID "invalid $2 format :: $1"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue