foris 6.10.0-beta.ab5058ee → 6.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/WiFiSettings/WiFiForm.js +17 -26
- package/foris-6.10.0.tgz +0 -0
- package/package.json +1 -1
|
@@ -91,7 +91,6 @@ function DeviceForm({
|
|
|
91
91
|
}) {
|
|
92
92
|
const deviceID = formData.id;
|
|
93
93
|
const bnds = formData.available_bands;
|
|
94
|
-
|
|
95
94
|
return (
|
|
96
95
|
<>
|
|
97
96
|
<Switch
|
|
@@ -221,27 +220,24 @@ function DeviceForm({
|
|
|
221
220
|
{...props}
|
|
222
221
|
/>
|
|
223
222
|
|
|
224
|
-
{formData.
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
ieee80211w_disabled: {
|
|
237
|
-
$set: value,
|
|
238
|
-
},
|
|
239
|
-
},
|
|
223
|
+
{(formData.encryption === "WPA3" ||
|
|
224
|
+
formData.encryption === "WPA2/3") && (
|
|
225
|
+
<Switch
|
|
226
|
+
label={_("Disable Management Frame Protection")}
|
|
227
|
+
helpText={_(
|
|
228
|
+
"In case you have trouble connecting to WiFi Access Point, try disabling Management Frame Protection."
|
|
229
|
+
)}
|
|
230
|
+
checked={formData.ieee80211w_disabled}
|
|
231
|
+
onChange={setFormValue((value) => ({
|
|
232
|
+
devices: {
|
|
233
|
+
[deviceIndex]: {
|
|
234
|
+
ieee80211w_disabled: { $set: value },
|
|
240
235
|
},
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
236
|
+
},
|
|
237
|
+
}))}
|
|
238
|
+
{...props}
|
|
239
|
+
/>
|
|
240
|
+
)}
|
|
245
241
|
|
|
246
242
|
{hasGuestNetwork && (
|
|
247
243
|
<WifiGuestForm
|
|
@@ -306,10 +302,5 @@ function getEncryptionChoices(device) {
|
|
|
306
302
|
if (device.encryption === "custom") {
|
|
307
303
|
ENCRYPTIONMODES.custom = _("Custom");
|
|
308
304
|
}
|
|
309
|
-
if (device.band === "6g") {
|
|
310
|
-
return {
|
|
311
|
-
WPA3: ENCRYPTIONMODES.WPA3,
|
|
312
|
-
};
|
|
313
|
-
}
|
|
314
305
|
return ENCRYPTIONMODES;
|
|
315
306
|
}
|
package/foris-6.10.0.tgz
CHANGED
|
Binary file
|