diff options
author | Toke Høiland-Jørgensen <toke@toke.dk> | 2018-06-27 23:06:06 +0200 |
---|---|---|
committer | Toke Høiland-Jørgensen <toke@toke.dk> | 2018-06-27 23:06:06 +0200 |
commit | 0768374b7302f8b4fcc40948c4de1918ade55f67 (patch) | |
tree | 378efbe26787c2b27a674b4f28cd5613d98b2f4a /net/acme/files | |
parent | 1fe8bc94958847809e295a56de1b1df0614e2565 (diff) |
acme: Not all fields should be mandatory in Luci
Fixes #6370.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Diffstat (limited to 'net/acme/files')
-rw-r--r-- | net/acme/files/acme-cbi.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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. " .. |