mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 02:09:15 +01:00
also testing for spaces in password
This commit is contained in:
parent
290621b245
commit
f7505caa1c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user