From 1b1e96eff7578571d1540fedee4e9c8d367fdf42 Mon Sep 17 00:00:00 2001 From: GareArc Date: Tue, 18 Mar 2025 01:55:27 -0400 Subject: [PATCH] fix: typo --- api/tasks/mail_email_code_login.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/tasks/mail_email_code_login.py b/api/tasks/mail_email_code_login.py index 6c52b725dc..2010a28eaf 100644 --- a/api/tasks/mail_email_code_login.py +++ b/api/tasks/mail_email_code_login.py @@ -30,7 +30,7 @@ def send_email_code_login_mail_task(language: str, to: str, code: str): template = "email_code_login_mail_template_zh-CN.html" if dify_config.ENTERPRISE_ENABLED: application_title = FeatureService.get_enterprise_application_title() - template = "without-brand/email_code_login_mail_template_zh-CN_enterprise.html" + template = "without-brand/email_code_login_mail_template_zh-CN.html" html_content = render_template(template, to=to, code=code, application_title=application_title) else: html_content = render_template(template, to=to, code=code) @@ -39,7 +39,7 @@ def send_email_code_login_mail_task(language: str, to: str, code: str): template = "email_code_login_mail_template_en-US.html" if dify_config.ENTERPRISE_ENABLED: application_title = FeatureService.get_enterprise_application_title() - template = "without-brand/email_code_login_mail_template_en-US_enterprise.html" + template = "without-brand/email_code_login_mail_template_en-US.html" html_content = render_template(template, to=to, code=code, application_title=application_title) else: html_content = render_template(template, to=to, code=code)