Skip to content
Snippets Groups Projects
Commit 2789aebc authored by kb-light's avatar kb-light Committed by Matthias Schiffer
Browse files

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

Fixes #845
parent d445cb77
No related branches found
Tags experimental-2023-12-05-base
No related merge requests found
...@@ -24,6 +24,7 @@ o.rmempty = false ...@@ -24,6 +24,7 @@ o.rmempty = false
o = s:option(Value, "ssid", translate("Name (SSID)")) o = s:option(Value, "ssid", translate("Name (SSID)"))
o:depends("enabled", '1') o:depends("enabled", '1')
o.datatype = "maxlength(32)"
o.default = ssid o.default = ssid
o = s:option(Value, "key", translate("Key"), translate("8-63 characters")) o = s:option(Value, "key", translate("Key"), translate("8-63 characters"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment