Can you please guide me on how to setup a registration system where the user can use an email or a phone number in place of email to register. e.g.
Enter your email or Phone
If the user provides an email - I have already setup a script to send the user and email using mailgun.
but if the user provides a phone.. I should be able to detect and send the user a token to confirm the phone number.
In summary what I need is:
Thanks for your time