By default, Shopify's account registration screen requires only an email address and password to register. However, the rate at which people enter their name is low, so it may not be necessary to make it mandatory. However, if you really want to make it mandatory, here is how to set it.
Make first and last name fields mandatory when creating an account with the Dawn theme

Correct the setting procedure "main-register.liquid"

