Project: moodle
Issue MDL-42935: user_create_user and user_update_user functions do not validate auth, lang or theme
The function update_users_parameters contains - {noformat} 'auth' => new external_value(PARAM_PLUGIN, 'Auth plugins include manual, ldap, imap, etc', VALUE_OPTIONAL, '', NULL_NOT_ALLOWED), 'lang' => new external_value(PARAM_SAFEDIR, 'Language code such as "en", must exist on server', VALUE_OPTIONAL, '', NULL_NOT_ALLOWED), 'theme' => new external_value(PARAM_PLUGIN, 'Theme name such as "standard", must exist on server', VALUE_OPTIONAL), {noformat} However, none of this is validated (like it is in the create_users function).
Story points: 13