Prevent usage of dollar signs in admin passwords during setup

This commit is contained in:
Jason Ertel
2020-10-28 11:06:57 -04:00
parent b238c492e4
commit 348c2feee2
2 changed files with 2 additions and 2 deletions

View File

@@ -48,6 +48,6 @@ check_container() {
check_password() {
local password=$1
echo "$password" | egrep -v "'|\"|\\\\" > /dev/null 2>&1
echo "$password" | egrep -v "'|\"|\\$|\\\\" > /dev/null 2>&1
return $?
}