We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c63ecda commit f1f4023Copy full SHA for f1f4023
func/main.sh
@@ -649,8 +649,8 @@ is_date_format_valid() {
649
# Database user validator
650
is_dbuser_format_valid() {
651
exclude="[!|@|#|$|^|&|*|(|)|+|=|{|}|:|,|<|>|?|/|\|\"|'|;|%|\`| ]"
652
- if [ 17 -le ${#1} ]; then
653
- check_result $E_INVALID "mysql username can be up to 16 characters long"
+ if [ 31 -le ${#1} ]; then
+ check_result $E_INVALID "mysql username can be up to 30 characters long"
654
fi
655
if [[ "$1" =~ $exclude ]]; then
656
check_result $E_INVALID "invalid $2 format :: $1"
0 commit comments