From 7c5346cbabfb9b7057506e0775faa7f74fd31157 Mon Sep 17 00:00:00 2001 From: Jan Tatje Date: Fri, 12 Aug 2022 21:08:59 +0200 Subject: Add support for EAP-PWD (#246) I also added a German translation of the new strings. --- src/components/Settings.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/components/Settings.js') diff --git a/src/components/Settings.js b/src/components/Settings.js index f12fe35..a0dbab5 100644 --- a/src/components/Settings.js +++ b/src/components/Settings.js @@ -10,9 +10,10 @@ export const Settings = (props) => { const encryptionModes = [ { label: t('wifi.password.encryption.none'), value: '' }, { label: 'WPA/WPA2/WPA3', value: 'WPA' }, + { label: 'WPA2-EAP', value: 'WPA2-EAP' }, { label: 'WEP', value: 'WEP' }, ]; - + const eapMethods = [{ label: 'PWD', value: 'PWD' }]; const langSelectDefaultValue = () => { const t = Translations.filter((t) => t.id === i18n.language); if (t.length !== 1) { @@ -68,6 +69,16 @@ export const Settings = (props) => { options={encryptionModes} onChange={(e) => props.onEncryptionModeChange(e.target.value)} /> + props.onEapMethodChange(e.target.value)} + /> ); }; -- cgit v1.2.3