Is there any way possible to restrict registration to email addresses with a specific domain. I am working on a site for my school, and I only want to allow users with a school email address to register...Im running 1.74
Thanks!
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- snowshoe@snowshoe
snowshoe - 0 likes
- iconMatrix@SteveAquila
iconMatrix - 0 likes
- Cash@costelloc
Cash - 0 likes
You must log in to post replies.Well there, that is a tricky problem....let me help you with that one...
add this inside the first try statement inside actions/register.php
that should do it.
if(strpos($email, "blahblahblah.edu") === false){
throw new RegistrationException(elgg_echo('RegistrationException:Not a blablabla email address....email admin@blahblhablha.com for access'));
}
What if you used this plug in, Turn off elgg Registrations, and manually registered them
There is a plugin here for that: http://code.elgg.org/plugins/branches/1.7/emaildomains/
I've never tried it.