Your extension should probably perform apply the checks that it applies to registration to email changes as well.
But for an easy hack, you could just disable Special:ChangeEmail with something like https://www.mediawiki.org/wiki/Manual:Special_pages#Disabling_Special:UserLogin_and_Special:UserLogout_pages On Tue, Feb 5, 2013 at 12:05 PM, Stephan Gomes Higuti <higuti....@gmail.com>wrote: > Hi guys. > > Well, i've got a MediaWiki running local, and I also configured the email > messages (reseting passwd, follow editing, etc). Everything is working fine > so far, but as it is a corporate wiki, I'm using an extension that do not > allow the registration mail been different to the wikidomain. But I was > testing and figure out that if you already have an user, u could change > your email to any other email, making my "restricted email domain > extension" useless. > Anyone have an idea of how can i deny the user changes the email address? > > Best Regards, > > Stephan Gomes Higuti > _______________________________________________ > MediaWiki-l mailing list > MediaWiki-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l