Return DNS plugin not supported error

This commit is contained in:
Lee Clemens 2023-12-21 19:47:21 -05:00 committed by Daniel Wozniak
parent 343b76474b
commit 2248414917

View file

@ -216,7 +216,7 @@ def cert(
cmd.append("--authenticator webroot")
if webroot is not True:
cmd.append(f"--webroot-path {webroot}")
elif dns_plugin in supported_dns_plugins:
elif dns_plugin:
if dns_plugin == "cloudflare":
cmd.append("--dns-cloudflare")
cmd.append(f"--dns-cloudflare-credentials {dns_plugin_credentials}")