Browse Source

Skip verification if the account is already verified, take 2

pull/37/head
Pedro González Serrano 9 years ago
parent
commit
835f8051cd
  1. 9
      le.sh

9
le.sh

@ -629,6 +629,12 @@ issue() {
d=$(echo $ventry | cut -d $sep -f 1) d=$(echo $ventry | cut -d $sep -f 1)
keyauthorization=$(echo $ventry | cut -d $sep -f 2) keyauthorization=$(echo $ventry | cut -d $sep -f 2)
uri=$(echo $ventry | cut -d $sep -f 3) 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" _info "Verifying:$d"
_debug "d" "$d" _debug "d" "$d"
_debug "keyauthorization" "$keyauthorization" _debug "keyauthorization" "$keyauthorization"
@ -717,6 +723,9 @@ issue() {
fi fi
done done
else
_info "$d:Already verified"
fi
done done

Loading…
Cancel
Save