mirror of
https://github.com/sb745/NyaaV3.git
synced 2025-11-22 08:55:45 +02:00
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 | ||