Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/clarkwinkelmann/flarum-ext-email-whitelist

Whitelist or blacklist specific email addresses by domain or regex
https://github.com/clarkwinkelmann/flarum-ext-email-whitelist

Last synced: about 2 months ago
JSON representation

Whitelist or blacklist specific email addresses by domain or regex

Awesome Lists containing this project

README

        

# Email Whitelist

![License](https://img.shields.io/badge/license-MIT-blue.svg) [![Latest Stable Version](https://img.shields.io/packagist/v/clarkwinkelmann/flarum-ext-email-whitelist.svg)](https://packagist.org/packages/clarkwinkelmann/flarum-ext-email-whitelist) [![Total Downloads](https://img.shields.io/packagist/dt/clarkwinkelmann/flarum-ext-email-whitelist.svg)](https://packagist.org/packages/clarkwinkelmann/flarum-ext-email-whitelist) [![Donate](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.me/clarkwinkelmann)

This extension allows whitelisting or blacklisting email addresses.

With regular expression mode disabled, only the domain is validated.

In regular expression mode, the full address is checked against the regular expression (using PHP `preg_match` function).
The regular expression must include delimiters and can include modifiers.

If no blacklist is defined, everything not whitelisted will be rejected.
If a blacklist is defined, every whitelisted value as well as values not matched by the blacklist will be accepted.

The validation error message can be customized in the settings.

## Installation

composer require clarkwinkelmann/flarum-ext-email-whitelist

## Support

This extension is under **minimal maintenance**.

It was developed for a client and released as open-source for the benefit of the community.
I might publish simple bugfixes or compatibility updates for free.

You can [contact me](https://clarkwinkelmann.com/flarum) to sponsor additional features or updates.

Support is offered on a "best effort" basis through the Flarum community thread.

## Links

- [GitHub](https://github.com/clarkwinkelmann/flarum-ext-email-whitelist)
- [Packagist](https://packagist.org/packages/clarkwinkelmann/flarum-ext-email-whitelist)
- [Discuss](https://discuss.flarum.org/d/28377)