diff options
author | Daniel F. Dickinson <cshored@thecshore.com> | 2019-01-16 19:13:01 -0500 |
---|---|---|
committer | Daniel F. Dickinson <cshored@thecshore.com> | 2019-01-16 19:13:01 -0500 |
commit | 11cff5374ba8287a6671a68c8eb4f228714c9e98 (patch) | |
tree | 9686de4417e59c1924702c3521890f972dfbd0a6 /applications/luci-app-radicale2/luasrc/view/cbi | |
parent | 8a725364481b25a14829ea8e28867d560b01189a (diff) |
luci-app-radicale2: Use http when not SSL
The test or whether we were using SSL often returned true even when
using HTTP only, therefore fix the test.
Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
Diffstat (limited to 'applications/luci-app-radicale2/luasrc/view/cbi')
-rw-r--r-- | applications/luci-app-radicale2/luasrc/view/cbi/raduigo.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-radicale2/luasrc/view/cbi/raduigo.htm b/applications/luci-app-radicale2/luasrc/view/cbi/raduigo.htm index 2f449d7b0b..1bcf388bd6 100644 --- a/applications/luci-app-radicale2/luasrc/view/cbi/raduigo.htm +++ b/applications/luci-app-radicale2/luasrc/view/cbi/raduigo.htm @@ -1,7 +1,7 @@ <% local uci = require "luci.model.uci".cursor() local http_port = uci:get("radicale2", "server", "host") -local usessl = uci:get("radicale2", "server", "ssl") +local usessl = uci:get_bool("radicale2", "server", "ssl") if type(http_port) == "table" then http_port = http_port[1] end |