Skip to content

Commit 3b0e633

Browse files
authored
Merge pull request #19 from nmzn/patch-1
Update install_node.sh
2 parents 5a9c995 + 221abf2 commit 3b0e633

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

oneClickDeploy/install_node.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ echo
4040
echo
4141
echo
4242
while true; do
43-
echo "Please type a Password for your node login. (At least 7 characters with 2 upper case characters, 2 lower case characters, 2 digits and 1 special character."
43+
echo "Please type a Password for your node login. (At least 8 characters with 2 upper case characters, 2 lower case characters, 2 digits and 1 special character."
4444
echo
4545
read -s -p "Enter Password: " nodepw
4646
echo
@@ -49,7 +49,7 @@ while true; do
4949
FAIL=no
5050

5151
# 7 characters
52-
[[ ${#nodepw} -ge 7 ]] || FAIL=yes
52+
[[ ${#nodepw} -ge 8 ]] || FAIL=yes
5353

5454
# 2 upper case letters
5555
echo $nodepw | grep -q "[A-Z].*[A-Z]" || FAIL=yes

0 commit comments

Comments
 (0)