mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-19 20:24:39 +02:00
also testing for spaces in password
This commit is contained in:
@@ -49,7 +49,7 @@ Write them down & store them in a safe place.
|
||||
shred $_temp
|
||||
passwordValid=1
|
||||
|
||||
clearedResult=$(echo '${result}' | tr -dc '[:alnum:]-.')
|
||||
clearedResult=$(echo '${result}' | tr -dc '[:alnum:]-.' | tr -d ' ')
|
||||
#echo "(${clearedResult}) (${#clearedResult} )"
|
||||
#echo "(${result}) (${#result})"
|
||||
if [ ${#clearedResult} != ${#result} ]; then
|
||||
|
Reference in New Issue
Block a user