MDL-84706 bigbluebuttonbn: improved authorization and mitigate CSRF risks

This commit is contained in:
Vincent Schneider
2025-06-05 01:34:18 +00:00
committed by Jenkins
parent 847a39b6d5
commit dfec066e2e
5 changed files with 19 additions and 7 deletions
+3 -1
View File
@@ -1150,7 +1150,8 @@ EOF;
return new moodle_url('/mod/bigbluebuttonbn/bbb_view.php', [
'action' => 'logout',
'id' => $this->get_cm()->id,
'courseid' => $this->get_cm()->course // Used to find the course if ever the activity is deleted
'courseid' => $this->get_cm()->course, // Used to find the course if ever the activity is deleted
'sesskey' => sesskey(),
// while the meeting is running.
]);
}
@@ -1189,6 +1190,7 @@ EOF;
'action' => 'join',
'id' => $this->get_cm()->id,
'bn' => $this->instancedata->id,
'sesskey' => sesskey(),
]);
}