diff options
author | Alexander Schlarb <alexander255@users.noreply.github.com> | 2017-08-19 18:53:49 +0200 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2017-08-20 08:30:21 +0300 |
commit | ab6485693834f7f66ff280d08abeec6e68265783 (patch) | |
tree | 531444c9ab1c6efe7074d5fdbe3240d440d610d6 /applications/luci-app-uhttpd/luasrc/model/cbi | |
parent | 818959efdcebf9467ab1b8bd10e33b2f877b2f6c (diff) |
luci-app-uhttpd: Fix certificate parameter section
Signed-off-by: Alexander Schlarb <alexander@ninetailed.ninja>
Diffstat (limited to 'applications/luci-app-uhttpd/luasrc/model/cbi')
-rw-r--r-- | applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua b/applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua index 03821ad9b5..a61e58ad5e 100644 --- a/applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua +++ b/applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua @@ -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 |