I'm writing my first plugin and it is an emaildomain blocker. The idea came to me after realizing that you can authenticate with a Google Apps account and it would be cool to have a portal where everyone from a certain domain can login but no one else. (Apparently other people is interested in a similar feature as well http://forum.joomla.org/viewtopic.php?f=452&t=266028)
I'm having one problem though. I've come so far that the plugin checks your email and sees if it's in an array of allowed domains and if not it raises an error. But the user still gets created and is able to login. How do I intercept the user creation? Is this possible?
Plugin - Intercept and abort user creation?
Moderators: tjay, seadap, Rogue4ngel, matthewhayashida
- deepthoughts
- Joomla! Apprentice
- Posts: 12
- Joined: Tue Sep 27, 2005 1:12 pm
- Location: The northern part of Sweden (Piteå)