mirror of
https://github.com/BEDOLAGA-DEV/remnawave-bedolaga-telegram-bot.git
synced 2026-02-22 20:31:47 +00:00
Add DisposableEmailService that fetches ~72k disposable email domains from github.com/disposable/disposable-email-domains into an in-memory frozenset with 24h auto-refresh via asyncio background task. Integrated into three email entry points in cabinet auth routes: - POST /email/register (link email to Telegram account) - POST /email/register/standalone (standalone email registration) - POST /email/change (change existing email) Controlled by DISPOSABLE_EMAIL_CHECK_ENABLED setting (default: true). Falls back to allowing all emails if domain list fetch fails.