Ver a proveniência

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 há 2 meses
committed by GitHub
ascendente
cometimento
c891164574
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados ID da chave GPG: B5690EEEBB952194
1 ficheiros alterados com 3 adições e 3 eliminações
  1. +3
    -3
      bin/mw

+ 3
- 3
bin/mw Ver ficheiro

@@ -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() {


Carregando…
Cancelar
Guardar