mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 00:20:37 +01:00
MDL-75279 mod_lti: Add username to NRPS response
This commit is contained in:
parent
24c009f222
commit
27cc23ca7a
@ -430,7 +430,10 @@ class memberships extends \mod_lti\local\ltiservice\service_base {
|
||||
'source.value' => format_string($user->lastname)],
|
||||
'Person.email.primary' => ['type' => 'email',
|
||||
'member.field' => 'email',
|
||||
'source.value' => format_string($user->email)]
|
||||
'source.value' => format_string($user->email)],
|
||||
'User.username' => ['type' => 'name',
|
||||
'member.field' => 'ext_user_username',
|
||||
'source.value' => format_string($user->username)],
|
||||
];
|
||||
|
||||
if (!is_null($lti)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user