dokit/mail-domain-restriction

There is no license information available for the latest version (1.0.0) of this package.

1.0.0 2019-11-13 10:42 UTC

This package is not auto-updated.

Last update: 2024-11-08 09:57:25 UTC


README

MailDomainRestriction is a mediawiki extension restrict email's domain at account creation.

Installation

Extract extension ant place it in the 'extensions' directory of your installation. (the directory namme must be 'MailDomainRestriction')

Load extension in file LocalSetting.php :

wfLoadExtension( 'MailDomainRestriction' );

and in this file, add either a domains whitelist or a blacklist :

$wgMailDomainRestrictionWhitelist = ['alloweddomain.com'];

or

$wgMailDomainRestrictionBlacklist = ['forbiddendomain.com'];