From abc244b5c90305abc29a22598631e4b67f076ea9 Mon Sep 17 00:00:00 2001 From: Florian Dagner Date: Mon, 19 Feb 2024 08:41:03 +0100 Subject: [PATCH] Encrypted WLAN set as standard --- edit_form.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/edit_form.php b/edit_form.php index 39fed96..d6bf675 100644 --- a/edit_form.php +++ b/edit_form.php @@ -199,9 +199,10 @@ protected function specific_definition($mform) { $mform->hideIf('config_wifipasskey', 'config_options', 'neq', 'wifi'); $mform->setType('config_wifipasskey', PARAM_NOTAGS); $authenticationoptions = [ - 'nopass' => get_string('none', 'block_qr'), - 'WEP' => get_string('wep', 'block_qr'), 'WPA/WPA2' => get_string('wpa', 'block_qr'), + 'WEP' => get_string('wep', 'block_qr'), + 'nopass' => get_string('none', 'block_qr'), + ]; $mform->addElement( 'select',