gluon-luci-private-wifi: limit ssid to 32 characters (#848)

Fixes #845
This commit is contained in:
kb-light 2016-08-08 11:38:57 +02:00 committed by Matthias Schiffer
parent d445cb772d
commit 2789aebcb2

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"))