luci-app-uhttpd: Fix certificate parameter section
Signed-off-by: Alexander Schlarb <alexander@ninetailed.ninja>
(cherry picked from commit ab64856938
)
This commit is contained in:
parent
9ee26ac818
commit
2bb1abd5ec
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue