From: Jo-Philipp Wich Date: Wed, 4 Mar 2009 22:45:02 +0000 (+0000) Subject: modules/admin-core: define size constraints for psk in wireless schema X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=bddbad34903d6b0f72ca5dd181075805c90a140e;p=openwrt-luci.git modules/admin-core: define size constraints for psk in wireless schema --- diff --git a/modules/admin-core/root/lib/uci/schema/default/wireless b/modules/admin-core/root/lib/uci/schema/default/wireless index 3a1b2c3499..845706afbe 100644 --- a/modules/admin-core/root/lib/uci/schema/default/wireless +++ b/modules/admin-core/root/lib/uci/schema/default/wireless @@ -453,6 +453,8 @@ config variable option name 'key' option section 'wireless.wifi-iface' option title 'Key' + option minlength 8 + option maxlength 63 list depends 'encryption=wep' list depends 'encryption=psk' list depends 'encryption=wpa,mode=ap'