diff --git a/mod_form.php b/mod_form.php index 77174495..b976e84e 100644 --- a/mod_form.php +++ b/mod_form.php @@ -582,6 +582,12 @@ public function definition() { $mform->addHelpButton('option_jbh', 'option_jbh', 'zoom'); $mform->disabledIf('option_jbh', 'webinar', 'checked'); +/* KIZ MODIFICATION START + REASON: We don't want to allow teacher to restrict meetings to authorized users - LMS-5429. */ + // Add authenticated users field. + $mform->addElement('hidden', 'option_authenticated_users', $config->defaultauthusersoption); +/* KIZ MODIFICATION END */ +/* ORIGINAL START // Add authenticated users widget. $mform->addElement( 'advcheckbox', @@ -591,6 +597,7 @@ public function definition() { ); $mform->setDefault('option_authenticated_users', $config->defaultauthusersoption); $mform->addHelpButton('option_authenticated_users', 'option_authenticated_users', 'zoom'); + ORIGINAL END */ // Add show widget. $mform->addElement( diff --git a/view.php b/view.php index 9b89a2a3..1e9ffba9 100755 --- a/view.php +++ b/view.php @@ -426,6 +426,7 @@ function zoom_get_user_display_name($zoomuserid) { $table->data[] = [$strjoinlink, html_writer::link($zoom->join_url, $zoom->join_url, ['target' => '_blank'])]; } + // Show encryption type. if (!$zoom->webinar) { if ($config->showencryptiontype != ZOOM_ENCRYPTION_DISABLE) { @@ -448,8 +449,11 @@ function zoom_get_user_display_name($zoomuserid) { $table->data[] = [$strjoinbeforehost, $strjbh]; } + /* KIZ MODIFICATION START + REASON: We don't want to allow teacher to restrict meetings to authorized users - LMS-5429. // Show authentication. $table->data[] = [$strauthenticatedusers, ($zoom->option_authenticated_users) ? $stryes : $strno]; + KIZ MODIFICATION END */ // Output table. echo html_writer::table($table);