From 0a050b35df2986cc1d1664371d32cceb2e938d93 Mon Sep 17 00:00:00 2001 From: Steven Foerster Date: Fri, 12 Mar 2021 11:56:15 -0500 Subject: [PATCH] numbers --- scripts/subinstallers/passwd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/subinstallers/passwd.sh b/scripts/subinstallers/passwd.sh index 505599f..5d65e70 100755 --- a/scripts/subinstallers/passwd.sh +++ b/scripts/subinstallers/passwd.sh @@ -7,7 +7,7 @@ while [ -z "${MISTBORN_DEFAULT_PASSWORD}" ]; do read -p "(Mistborn) Set default admin password: " -s MISTBORN_DEFAULT_PASSWORD echo - if [[ ${MISTBORN_DEFAULT_PASSWORD} =~ ^[A-Za-z_]+$ ]]; then + if [[ ${MISTBORN_DEFAULT_PASSWORD} =~ ^[A-Za-z0-9_]+$ ]]; then # it matches echo "(Mistborn) Password is accepted" else