Moodle API update_user function

Moodle API update_user function

by T K -
Number of replies: 0

We are using Moodle 3.4 and are trying to use this user_update_users API to update users from an external site.

I notice that the user_update does not pass if we send the existing email without any change. I understand there is validation being done at the user/externallib.php.



We want to be able to send the email parameter every time we send update even though the email is not being changed, is there any way to make this work without bypassing the email validation?

Average of ratings: -