How do I generate the files for register and password reset logic?

This is a very beginner project, but do I generate the files to get Strapi’s existing logic for these endpoints or do I start from scratch? For example I want to remove the username field, and I did it in schema.json but when I go to add a user it still says that there’s no username (it isn’t required). I assume there’s still logic checking for it but I don’t have the files for that logic. With my reset password I want to check for a field before resetting, so I want to edit that logic as well.

This topic has been created from a Discord post (1232719642166824961) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

I also assume I’d need to alter the return logic for register if I’m setting a field to private (currently it just sends an error when trying to register.

It’s in the users permissions plugin so you’d have to get that of GitHub to make any modifications on it, in the strapi GitHub repo.