rgegriff / basiclti4moodle

Automatically exported from code.google.com/p/basiclti4moodle
0 stars 0 forks source link

Consumer should set the user_image launch parameter #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the consumer doesn't add the user_image to the launch request. If 
there is a way of addressing a Moodle user's profile image it would make sense 
to add it.

Original issue reported on code.google.com by adrian.r...@gmail.com on 23 Feb 2012 at 9:41

GoogleCodeExporter commented 9 years ago
I added this code locally but the url doesn't seem to work. Maybe it's a 
session issue.

"user_id" => $USER->id,
"user_image" => $CFG->wwwroot.'/user/profile.php?id='.$USER->id,
"roles" => $role,

Original comment by adrian.r...@gmail.com on 23 Feb 2012 at 9:45