New Users Log In
Before You Start:
- This example is being run in Local software, so make sure you have the same software to follow all the steps
Go to a browser, different from the one you are using to work on your site, and visit your site. Add wp-admin at the end of the address, so you can access the login screen.
Go to the register page, located at the bottom left of the login box.
Insert a previously generated code and create a Username and an Email, and click on Register.
You should see the registration complete screen after.
Go to Local environment and click on Utilities.
On utilities click open MailHog.
On MailHog you´ll have the register request that you just send, click on it.
The content of the email should be the register request, along with two links. Click on the first link, which is a request for new password creation.
Create a new password and click Reset Password.
You should see the password has been reset screen
Go back to MailHog and check the new email, which is a reset password request, click on it.
The content of the email will be the confirmation of the password change for the user you just created.
Go back to the login page of your site, remember to do it in another browser, different from de one you are working on your site.
Insert the recently created user and password and click login.
You should get redirected to the personal account of the newly created user.
If in the Invite Code generation you decide to give away X amount of codes, the new users should have them as well, so they can invite themselves.