From 435c709c848651542011f8ef41056ca5d321da41 Mon Sep 17 00:00:00 2001 From: Sam Chaffee Date: Tue, 20 May 2014 15:34:21 -0600 Subject: [PATCH] MDL-45645 mod_lti Add custom LTI request parameter ext_user_username --- mod/lti/locallib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/lti/locallib.php b/mod/lti/locallib.php index bb50e8bbb82..ff760979c16 100644 --- a/mod/lti/locallib.php +++ b/mod/lti/locallib.php @@ -280,6 +280,7 @@ function lti_build_request($instance, $typeconfig, $course) { $requestparams['lis_person_name_given'] = $USER->firstname; $requestparams['lis_person_name_family'] = $USER->lastname; $requestparams['lis_person_name_full'] = $USER->firstname." ".$USER->lastname; + $requestparams['ext_user_username'] = $USER->username; } if ( $typeconfig['sendemailaddr'] == LTI_SETTING_ALWAYS ||