Skip to content

Commit

Permalink
also call clean_challenge hook for http-01 challenges (fixes #536)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas2511 committed Apr 13, 2018
1 parent 8ba56a8 commit 0262997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dehydrated
Expand Up @@ -817,7 +817,7 @@ sign_csr() {
# Delete challenge file
[[ "${CHALLENGETYPE}" = "http-01" ]] && rm -f "${WELLKNOWN}/${challenge_tokens[${idx}]}"
# Clean challenge token using non-chained hook
[[ "${CHALLENGETYPE}" = "dns-01" ]] && [[ -n "${HOOK}" ]] && [[ "${HOOK_CHAIN}" != "yes" ]] && "${HOOK}" "clean_challenge" ${deploy_args[${idx}]}
[[ -n "${HOOK}" ]] && [[ "${HOOK_CHAIN}" != "yes" ]] && "${HOOK}" "clean_challenge" ${deploy_args[${idx}]}
idx=$((idx+1))
done

Expand Down

0 comments on commit 0262997

Please sign in to comment.