luci/modules/luci-mod-network/htdocs
Ansuel Smith ba98a2fd05
luci-mod-network: fix logic bug in parse enc for network join
In handleJoinConfirm while is_wep is a boolean, is_psk and is_sae are an array. In the following if check, all 3 are used as boolean but Js treat empty array as positive values and this cause the ui to wrongly set the encryption to sae. fix this by checking if the array actually contains data.

Fixes: #4524
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-11-01 01:51:02 +01:00
..
luci-static/resources/view/network luci-mod-network: fix logic bug in parse enc for network join 2020-11-01 01:51:02 +01:00