mirror of
https://github.com/openwrt/luci.git
synced 2026-06-20 05:41:17 +04:00
ba98a2fd05
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>