luci-app-uhttpd: Fix certificate parameter section

Signed-off-by: Alexander Schlarb <alexander@ninetailed.ninja>
This commit is contained in:
Alexander Schlarb 2017-08-19 18:53:49 +02:00 committed by Hannu Nyman
parent 818959efdc
commit ab64856938

View file

@ -202,7 +202,10 @@ o = ucs:taboption("advanced", Value, "max_requests", translate("Maximum number o
o.optional = true
o.datatype = "uinteger"
local s = m:section(NamedSection, "px5g", "cert", translate("uHTTPd Self-signed Certificate Parameters"))
local s = m:section(TypedSection, "cert", translate("uHTTPd Self-signed Certificate Parameters"))
s.template = "cbi/tsection"
s.anonymous = true
o = s:option(Value, "days", translate("Valid for # of Days"))
o.default = 730