diff --git a/src/define.sh b/src/define.sh index 5666e20d..a4da136c 100644 --- a/src/define.sh +++ b/src/define.sh @@ -1444,7 +1444,7 @@ validateLegacyUsername() { return 0 } -validateLegacyPassword() { +validatePassword() { local value="$1" local desc="${2:-}" diff --git a/src/install.sh b/src/install.sh index 20927083..1459f9db 100644 --- a/src/install.sh +++ b/src/install.sh @@ -1035,6 +1035,7 @@ updateXML() { validateResolution "WIDTH" "$WIDTH" 320 || return 1 validateResolution "HEIGHT" "$HEIGHT" 200 || return 1 validateProductKey "$KEY" || return 1 + validatePassword "$PASSWORD" || return 1 app=$(escapeXMLSed "$APP for $ENGINE") || return 1