This commit is contained in:
Markos Gogoulos
2026-03-13 14:14:04 +02:00
parent 8d0f4827ed
commit 0954b3ff0d
2 changed files with 7 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ $typeconfig = lti_get_type_type_config($type->id);
// Store redirect_path in session — lti_auth.php picks it up after the OIDC roundtrip.
if ($action === 'upload') {
$SESSION->mediacms_launch_customparams = 'redirect_path=/upload';
$SESSION->mediacms_launch_customparams = 'redirect_path=/upload?action=select_media';
} else {
$SESSION->mediacms_launch_customparams = 'redirect_path=/lti/select-media/?mode=lms_embed_mode';
}