Please upgrade to 2.3 here.
The 2.2 and earlier branches are no longer being updated.
Validate Specific School Email at Registeration
How do I validate if a new users email address belongs to a certain school email address? For example firstname.lastname@example.org and make sure all new users have the myschool.edu in their email address.