From 0768374b7302f8b4fcc40948c4de1918ade55f67 Mon Sep 17 00:00:00 2001 From: Toke Høiland-Jørgensen Date: Wed, 27 Jun 2018 23:06:06 +0200 Subject: acme: Not all fields should be mandatory in Luci MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #6370. Signed-off-by: Toke Høiland-Jørgensen --- net/acme/files/acme-cbi.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/acme/files') diff --git a/net/acme/files/acme-cbi.lua b/net/acme/files/acme-cbi.lua index 264d33531..193699cc3 100644 --- a/net/acme/files/acme-cbi.lua +++ b/net/acme/files/acme-cbi.lua @@ -61,7 +61,7 @@ wr = cs:option(Value, "webroot", translate("Webroot directory"), translate("Webserver root directory. Set this to the webserver " .. "document root to run Acme in webroot mode. The web " .. "server must be accessible from the internet on port 80.")) -wr.rmempty = false +wr.optional = true dom = cs:option(DynamicList, "domains", translate("Domain names"), translate("Domain names to include in the certificate. " .. @@ -75,7 +75,7 @@ dns = cs:option(Value, "dns", translate("DNS API"), "In DNS mode, the domain name does not have to resolve to the router IP. " .. "DNS mode is also the only mode that supports wildcard certificates. " .. "Using this mode requires the acme-dnsapi package to be installed.")) -dns.rmempty = false +dns.optional = true cred = cs:option(DynamicList, "credentials", translate("DNS API credentials"), translate("The credentials for the DNS API mode selected above. " .. -- cgit v1.2.3