I am trying to create two distinct user roles on my webpage. One will require a .edu email to sign up the other will not. So far I have found this plugin to help validate.
But I need to figure out where/how to add a if-then statement in order to only validate the emails who want to be a student user and need the .edu.
I have radio buttons set up on registration to distinguish the two roles.
What file do I need to edit it to make this work?