Fixed more errors with passpharse comparison.
This commit is contained in:
parent
1b7341656e
commit
7ce163b271
@ -114,10 +114,10 @@ encrypt_file() {
|
|||||||
if [[ ! -f "$muttHome/.master_password" ]]; then
|
if [[ ! -f "$muttHome/.master_password" ]]; then
|
||||||
passphrase=""
|
passphrase=""
|
||||||
passphraseCompare="-"
|
passphraseCompare="-"
|
||||||
while [[ "${passphrase}" != "passphraseCompare" ]] ; do
|
while [[ "${passphrase}" != "${passphraseCompare}" ]] ; do
|
||||||
passphrase="$(passwordbox "Please create a master password for encrypting your email credentials:")"
|
passphrase="$(passwordbox "Please create a master password for encrypting your email credentials:")"
|
||||||
passphraseCompare="$(passwordbox "Please re-enter the master password:")"
|
passphraseCompare="$(passwordbox "Please re-enter the master password:")"
|
||||||
if [[ "${passphrase}" != "passphraseCompare" ]]; then
|
if [[ "${passphrase}" != "${passphraseCompare}" ]]; then
|
||||||
msgbox "Passphrase does not match, please retry."
|
msgbox "Passphrase does not match, please retry."
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user