mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-08-08 09:12:43 +02:00
fix #99 keep spaces in password
This commit is contained in:
@@ -40,7 +40,7 @@ dialog --backtitle "RaspiBlitz - Setup"\
|
||||
--inputbox "Please enter your Master/Admin Password A:\n!!! This is new password to login per SSH !!!" 10 52 2>$_temp
|
||||
|
||||
# get user input
|
||||
result=$( cat $_temp | tr -d [:space:] )
|
||||
result=$( cat $_temp )
|
||||
shred $_temp
|
||||
|
||||
# check input (check for more later)
|
||||
@@ -67,7 +67,7 @@ while [ ${#result} -lt 8 ]
|
||||
do
|
||||
dialog --backtitle "RaspiBlitz - Setup"\
|
||||
--inputbox "Enter your RPC Password B (min 8 chars):" 9 52 2>$_temp
|
||||
result=$( cat $_temp | tr -d [:space:] )
|
||||
result=$( cat $_temp )
|
||||
shred $_temp
|
||||
done
|
||||
|
||||
|
Reference in New Issue
Block a user