Browse Source

acme: Not all fields should be mandatory in Luci

Fixes #6370.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
lilik-openwrt-22.03
Toke Høiland-Jørgensen 7 years ago
parent
commit
0768374b73
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      net/acme/Makefile
  2. +2
    -2
      net/acme/files/acme-cbi.lua

+ 1
- 1
net/acme/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=acme
PKG_VERSION:=2.7.8
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_LICENSE:=GPLv3
PKG_SOURCE_PROTO:=git


+ 2
- 2
net/acme/files/acme-cbi.lua View File

@ -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. " ..


Loading…
Cancel
Save