mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-24 01:51:05 +01:00
delete challenge response after verification
This commit is contained in:
@@ -174,6 +174,8 @@ sign_domain() {
|
||||
status="$(_request get "${challenge_uri}" | grep -Eo '"status":\s*"[^"]*"' | cut -d'"' -f4)"
|
||||
done
|
||||
|
||||
rm -f "${WELLKNOWN}/${challenge_token}"
|
||||
|
||||
if [[ "${status}" = "valid" ]]; then
|
||||
echo " + Challenge is valid!"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user