04-29-2017, 02:45 PM
Hello,
Thoughts on how I can make a validation class in the Registration Form, and page to verify the user it using a email using x.domains? For the time being I will hard code them, and later on verify it against the DB, but if you think it is easier to use the DB in the first place, I will do that, maybe call it allow_domains?
I need to require my users to be using a domain such as example.com or example1.com or example2.com, but if they try to register with example3.com, since it is not in the list of allowed domains, it fails the registration, or the email change on the account.php page.
Thank you!
Thoughts on how I can make a validation class in the Registration Form, and
Code:
account.php
I need to require my users to be using a domain such as example.com or example1.com or example2.com, but if they try to register with example3.com, since it is not in the list of allowed domains, it fails the registration, or the email change on the account.php page.
Thank you!