diff options
author | Ptilopsis Leucotis <PtilopsisLeucotis@yandex.com> | 2022-05-14 20:56:23 +0300 |
---|---|---|
committer | Ptilopsis Leucotis <PtilopsisLeucotis@yandex.com> | 2022-05-14 20:56:23 +0300 |
commit | 4e3d6c15640aad5df6280a619a3fa808595b903d (patch) | |
tree | b293d65b1d68ead2820089db10d191e4420fa088 /applications/luci-app-mosquitto/luasrc | |
parent | 4e768e565ba81467a6b2f5be80020cf1af28614b (diff) |
luci-app-mosquitto: add option 'allow anonymous'
Add missed option 'allow anonymous' in mosquitto section.
Signed-off-by: Ptilopsis Leucotis <PtilopsisLeucotis@yandex.com>
Diffstat (limited to 'applications/luci-app-mosquitto/luasrc')
-rw-r--r-- | applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua b/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua index 3ba88e5ac4..66591f0bed 100644 --- a/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua +++ b/applications/luci-app-mosquitto/luasrc/model/cbi/mosquitto.lua @@ -58,6 +58,7 @@ o = s:option(Value, "sys_interval", _("Time in seconds between updates of the $S o.datatype = "uinteger" o.optional = true +OptionalFlag(s, "allow_anonymous", _("Allow anonymous connections"), _("Allow to connect without providing a username and password")) o = s:option(Value, "max_inflight_messages", _("Max Inflight Messages"), _("Limit for message allowed inflight")) o.datatype = "uinteger" o.optional = true |