luci-app-mosquitto: add option 'allow anonymous'

Add missed option 'allow anonymous' in mosquitto section.

Signed-off-by: Ptilopsis Leucotis <PtilopsisLeucotis@yandex.com>
This commit is contained in:
Ptilopsis Leucotis 2022-05-14 20:56:23 +03:00
parent 4e768e565b
commit 4e3d6c1564

View file

@ -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