gluon-luci-private-wifi: limit ssid to 32 characters

fixes #845
This commit is contained in:
kb-light 2016-08-07 14:24:19 +02:00
parent d445cb772d
commit f83ca828cd

View File

@ -24,6 +24,7 @@ o.rmempty = false
o = s:option(Value, "ssid", translate("Name (SSID)"))
o:depends("enabled", '1')
o.datatype = "maxlength(32)"
o.default = ssid
o = s:option(Value, "key", translate("Key"), translate("8-63 characters"))