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
|
||||
passphrase=""
|
||||
passphraseCompare="-"
|
||||
while [[ "${passphrase}" != "passphraseCompare" ]] ; do
|
||||
while [[ "${passphrase}" != "${passphraseCompare}" ]] ; do
|
||||
passphrase="$(passwordbox "Please create a master password for encrypting your email credentials:")"
|
||||
passphraseCompare="$(passwordbox "Please re-enter the master password:")"
|
||||
if [[ "${passphrase}" != "passphraseCompare" ]]; then
|
||||
if [[ "${passphrase}" != "${passphraseCompare}" ]]; then
|
||||
msgbox "Passphrase does not match, please retry."
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user