mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 03:40:00 +00:00
8c892f09cc
Adds a new config entry (EMAIL_SERVER_BLACKLIST, tuple of IPv4 addresses as strings) and an email validator for registering, which will query all the MX records for the domain and reject the registration if any of the A records for any of the MX records are found in the blacklist. If the query fails, the blacklist is ignored; the email is accepted. |
||
---|---|---|
.. | ||
static | ||
templates | ||
views | ||
__init__.py | ||
api_handler.py | ||
backend.py | ||
bencode.py | ||
email.py | ||
extensions.py | ||
forms.py | ||
models.py | ||
search.py | ||
template_utils.py | ||
torrents.py | ||
utils.py |