modules/admin-core: define size constraints for psk in wireless schema
This commit is contained in:
parent
0feb0a4607
commit
bddbad3490
1 changed files with 2 additions and 0 deletions
|
@ -453,6 +453,8 @@ config variable
|
||||||
option name 'key'
|
option name 'key'
|
||||||
option section 'wireless.wifi-iface'
|
option section 'wireless.wifi-iface'
|
||||||
option title 'Key'
|
option title 'Key'
|
||||||
|
option minlength 8
|
||||||
|
option maxlength 63
|
||||||
list depends 'encryption=wep'
|
list depends 'encryption=wep'
|
||||||
list depends 'encryption=psk'
|
list depends 'encryption=psk'
|
||||||
list depends 'encryption=wpa,mode=ap'
|
list depends 'encryption=wpa,mode=ap'
|
||||||
|
|
Loading…
Reference in a new issue