mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-03-15 01:12:20 -04:00
a
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user