mirror of
https://github.com/BillyOutlast/UNIT3D.git
synced 2026-02-04 03:01:20 +01:00
Just an initial portion for now fixing incorrect text and preventing future incorrect text. Eventually, I'd like to fix everything still listed under "ignoredWords" in cspell.json.
47 lines
1.7 KiB
PHP
47 lines
1.7 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
/**
|
|
* NOTICE OF LICENSE.
|
|
*
|
|
* UNIT3D Community Edition is open-sourced software licensed under the GNU Affero General Public License v3.0
|
|
* The details is bundled with this project in the file LICENSE.txt.
|
|
*
|
|
* @project UNIT3D Community Edition
|
|
*
|
|
* @author HDVinnie <hdinnovations@protonmail.com>
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html/ GNU Affero General Public License v3.0
|
|
*/
|
|
|
|
return [
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Email Domain Blacklist Validation
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The email domain blacklist validation rule uses a remote or local source
|
|
| to get updated and also allows to specify a custom append list.
|
|
|
|
|
| enabled: true|false
|
|
|
|
|
| source: string|null
|
|
| You may specify the preferred URL or file path to update the blacklist.
|
|
| Keep null if you don't want to use a remote source.
|
|
| Default: "https://cdn.jsdelivr.net/gh/andreis/disposable-email-domains@master/domains.json"
|
|
|
|
|
| cache-key: string|null
|
|
| You may change the cache key for the sourced blacklist.
|
|
| Keep null if you want to use the default value.
|
|
|
|
|
| append: string|null
|
|
| You may a string of pipe | separated domains list.
|
|
| Keep null if you don't want to append custom domains.
|
|
| Example: "example.com|example.net|foobar.com".
|
|
|
|
|
*/
|
|
'enabled' => true,
|
|
'source' => 'https://cdn.jsdelivr.net/gh/andreis/disposable-email-domains@master/domains.json',
|
|
'cache-key' => 'email.domains.blacklist',
|
|
'append' => null,
|
|
];
|