gnu-social/plugins/DomainWhitelist
Diogo Cordeiro 1049080df5 [CORE] Move public resources to a /public directory
Advantages:
* Increases security by preventing direct access to file/
* We are careful and have a defined('GNUSOCIAL') || die() to prevent
  direct access to GS files, but we may miss one or a vendor/extlib may
  not be as careful
* Improves directory structure - It's more natural to physically
  separate what is public from what are GNU social resources
2019-08-03 17:47:25 +01:00
..
forms plugins onAutoload now only overloads if necessary (extlibs etc.) 2013-08-28 16:10:30 +02:00
locale [TRANSLATION] Update Plugin POs 2019-06-09 16:10:03 +01:00
DomainWhitelistPlugin.php [VersionBump] 1.19.0, fairly late 2019-06-07 15:02:08 +01:00
README Add plugin READMEs 2016-02-08 17:48:37 +00:00

The DomainWhitelist plugin restricts the email addresses in a domain to a
select whitelist.

Installation
============
add "addPlugin('DomainWhitelist');"
to the bottom of your config.php

Settings
========
whitelist: An array of whitelisted domains

Example
=======
$config['email']['whitelist'] = array('example.org', 'example.net');
addPlugin('DomainWhitelist');