Show checkbox for dns challenge in zerossl

This commit is contained in:
Zen Wen
2025-11-10 04:15:50 +08:00
parent ac184b0cbc
commit eeb7a87d5a

View File

@@ -415,8 +415,10 @@
} else if (this.value == "ZeroSSL") { } else if (this.value == "ZeroSSL") {
$("#kidInput").show(); $("#kidInput").show();
$("#hmacInput").show(); $("#hmacInput").show();
$("#dnsChallenge").hide(); $("#dnsChallenge").show();
$(".dnsChallengeOnly").hide(); if ($("#useDnsChallenge")[0].checked){
$(".dnsChallengeOnly").show();
}
$("#skipTLS").hide(); $("#skipTLS").hide();
} else if (this.value == "Buypass") { } else if (this.value == "Buypass") {
$("#kidInput").show(); $("#kidInput").show();