luci-app-mosquitto: add option 'allow anonymous'
[project/luci.git] / applications / luci-app-mosquitto / luasrc / model / cbi / mosquitto.lua
index 3ba88e5ac465bc201d60f35932a82ca4fc7e82fb..66591f0bed73be53c8385e7a05618854190abfa4 100644 (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
 
 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
 o = s:option(Value, "max_inflight_messages", _("Max Inflight Messages"), _("Limit for message allowed inflight"))
 o.datatype = "uinteger"
 o.optional = true