diff --git a/config.py b/config.py index 111b8bf3..8b7e710b 100644 --- a/config.py +++ b/config.py @@ -23,7 +23,7 @@ def __init__(self): # 加载 .env 文件 load_dotenv(dotenv_path) - self.temp_mail = os.getenv("TEMP_MAIL", "").strip() + self.temp_mail = os.getenv("TEMP_MAIL", "").strip().split("@")[0] self.domain = os.getenv("DOMAIN", "").strip() self.check_config()