git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
818959e
)
luci-app-uhttpd: Fix certificate parameter section
author
Alexander Schlarb
<redacted>
Sat, 19 Aug 2017 16:53:49 +0000
(18:53 +0200)
committer
Hannu Nyman
<redacted>
Sun, 20 Aug 2017 05:30:21 +0000
(08:30 +0300)
Signed-off-by: Alexander Schlarb <redacted>
applications/luci-app-uhttpd/luasrc/model/cbi/uhttpd/uhttpd.lua
patch
|
blob
|
history
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 03821ad9b5625f2c940ae032294f0c7ccef7f0d6..a61e58ad5e0e2bce28f22d1723c30fe0ce4a7ff2 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT