I ended up implementing it as a function in LocalSettings.php and attached it to the
'AbortNewAccount'-hook. This triggers in the addNewAccountInternal-method of the
LoginForm-class in SpecialUserlogin.php. Seems to do the trick.
If anyone has a better, cleaner or more secure way to do it, I'm interested.
/Aron
On Wed, Oct 17, 2007 at 09:39:09PM -0500, Chuck wrote:
Aron Hennerdal wrote:
Hi
I'm interested in applying custom rules for who is allowed to create a new account on
my wiki, e.g. only allow new users who use an e-mail address from a particular domain.
How can I do this? I have looked at the ConfirmAccount-Extension but from what I
understand it involves sysops manually approving new accounts, which seems cumbersome. Is
there any way to do it automatically?
/Aron
We're also interested in this, especially bogus accounts using the ".ru"
domain.
Chuck
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l