Hi !
I'm currently preparing the migration of thousands of external students into a Moodle 3.9 install and I just discovered that in very specific circumstances, some of them lack either a first name or a last name which so far hadn't posed much of a problem as the school I work for used its own mix of technologies and frameworks.
After trying a thing or two (like adding in one of the two fields, which kind of works amusingly enough 😅) I found that I could remove their required status just by changing the $necessarynames array on line 430 of user/editlib.php which bypasses the issue but I'm worried this may break things down the line.
Has anyone faced this situation before and which solutions did you end up going for ?