mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 06:35:55 +08:00
fix: typo
This commit is contained in:
parent
d38f2cb380
commit
1b1e96eff7
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user