luci-mod-network: wireless.js: prompt for passphrase when joining SAE net
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
2f92a29628
commit
4d3d23b5e9
1 changed files with 1 additions and 1 deletions
|
@ -1793,7 +1793,7 @@ return L.view.extend({
|
||||||
s2 = m2.section(form.NamedSection, '_new_'),
|
s2 = m2.section(form.NamedSection, '_new_'),
|
||||||
enc = L.isObject(bss.encryption) ? bss.encryption : null,
|
enc = L.isObject(bss.encryption) ? bss.encryption : null,
|
||||||
is_wep = (enc && Array.isArray(enc.wep)),
|
is_wep = (enc && Array.isArray(enc.wep)),
|
||||||
is_psk = (enc && Array.isArray(enc.wpa) && Array.isArray(enc.authentication) && enc.authentication[0] == 'psk'),
|
is_psk = (enc && Array.isArray(enc.wpa) && L.toArray(enc.authentication).filter(function(a) { return a == 'psk' || a == 'sae' })),
|
||||||
replace, passphrase, name, zone;
|
replace, passphrase, name, zone;
|
||||||
|
|
||||||
s2.render = function() {
|
s2.render = function() {
|
||||||
|
|
Loading…
Reference in a new issue