From d29cca7f51b523a3b536db306afc938eddd78d23 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 19 Jul 2026 09:28:53 +0200 Subject: [PATCH] feat: Apply password validation (#1896) --- src/define.sh | 2 +- src/install.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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