Skip verification if the account is already verified, take 2

This commit is contained in:
Pedro González Serrano 2016-01-24 13:11:04 +01:00
parent 4d14d2e911
commit 835f8051cd

9
le.sh
View File

@ -629,6 +629,12 @@ issue() {
d=$(echo $ventry | cut -d $sep -f 1)
keyauthorization=$(echo $ventry | cut -d $sep -f 2)
uri=$(echo $ventry | cut -d $sep -f 3)
# check if domain is already verified for the account
_info "Checking if domain is already verified"
if ! _get $uri ; then
_err "$d:Verify pending"
_info "Verifying:$d"
_debug "d" "$d"
_debug "keyauthorization" "$keyauthorization"
@ -717,6 +723,9 @@ issue() {
fi
done
else
_info "$d:Already verified"
fi
done