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',