Merge pull request #5811 from PtilopsisLeucotis/luci-app-mosquitto

luci-app-mosquitto: add option 'allow anonymous'
This commit is contained in:
Jo-Philipp Wich 2022-05-16 10:04:53 +02:00 committed by GitHub
commit cfc8e2bf8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,6 +58,7 @@ o = s:option(Value, "sys_interval", _("Time in seconds between updates of the $S
o.datatype = "uinteger" o.datatype = "uinteger"
o.optional = true 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 = s:option(Value, "max_inflight_messages", _("Max Inflight Messages"), _("Limit for message allowed inflight"))
o.datatype = "uinteger" o.datatype = "uinteger"
o.optional = true o.optional = true