MDL-62599 mod_lit: Missing end of function

This commit is contained in:
Stephen Vickers
2019-05-06 13:33:42 +08:00
committed by Jake Dallimore
parent 1bc7f99bf7
commit 408cb8d64c
+4
View File
@@ -3090,6 +3090,10 @@ function lti_sign_jwt($parms, $endpoint, $oauthconsumerkey, $typeid = 0, $nonce
$kid = get_config('mod_lti', 'kid');
$jwt = JWT::encode($payload, $privatekey, 'RS256', $kid);
$newparms = array();
$newparms['id_token'] = $jwt;
return $newparms;
}
/**