Enabling self-registration will allow users to register for a moodle account directly from the login page.
Step 1. Select Administration
Step 2. Select Site Administration
Step 3. Select the Plugins tab
Step 4. Scroll down to find the Authentication category
Step 5. Select the Manage authentication link
Step 6. From the list, find Email-based self-registration and ensure that this authentication method is enabled. If it is disabled click on the eye icon to remove the strike.
The self-registration method is now authenticated.
Step 6. Scroll down the page to the Common Settings category. You will need to find self-registration, which is found at the top of the list. The default is disable.
Step 7. From the drop-down change the status of Self-registration from disable to Email-based self-registration.
Step 8. Self-registration has now been enabled on your site. When a user accesses the login page, they will now be able to Create a new account.