Kaynağa Gözat

Merge pull request #985 from speedie1337/master

Don't prompt for password, if the email address already has one stored.
pull/996/head
Luke Smith 2 ay önce
committed by GitHub
ebeveyn
işleme
c891164574
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: B5690EEEBB952194
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. +3
    -3
      bin/mw

+ 3
- 3
bin/mw Dosyayı Görüntüle

@@ -173,11 +173,11 @@ askinfo() {
[ -z "$passprefix" ] && passprefix=""
hostname="${fulladdr#*@}"
login="${login:-$fulladdr}"
if [ -n "${password+x}" ]; then
if [ -n "${password+x}" ] && [ ! -f "$PASSWORD_STORE_DIR/$passprefix$fulladdr.gpg" ]; then
insertpass
else
elif [ ! -f "$PASSWORD_STORE_DIR/$passprefix$fulladdr.gpg" ]; then
getpass
fi
fi
}

insertpass() {


Yükleniyor…
İptal
Kaydet