Project: moodle
Issue MDL-45936: The auth/db plugin should use the core functions user_create_user and user_update_user
The auth/db is doing a bunch of it's own logic to add/update a user, which is not great. We want to keep the logic in one place for easy maintenance/updates etc.
Story points: 8