clarkwinkelmann / flarum-ext-username-blacklist
Blacklist or whitelist specific usernames
Installs: 1 282
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 1
Type:flarum-extension
Requires
- flarum/core: ^1.0
README
This extension allows blacklisting or whitelisting usernames.
In default mode, a case-insensitive check is done with the provided username against the list.
In regular expression mode, the full username 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-username-blacklist
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 to sponsor additional features or updates.
Support is offered on a "best effort" basis through the Flarum community thread.