fix: 修复忘记密码、修改密码邮件里MaxKB相关字样

This commit is contained in:
shaohuzhang1 2024-09-20 16:23:52 +08:00 committed by shaohuzhang1
parent fda0bcb5d6
commit d975ee6027
2 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@
color: #1f2329;
"
>
MaxKB 智能知识库问答系统
智能知识库问答系统
</div>
</th>
</tr>
@ -103,7 +103,7 @@
text-align: right;
"
>
<p>飞致云 - MaxKB 项目组</p>
<p>智能知识库项目组</p>
<br />
<p>
此为系统邮件,请勿回复<br />

View File

@ -387,7 +387,7 @@ class SendEmailSerializer(ApiMixin, serializers.Serializer):
system_setting.meta.get('email_use_ssl')
)
# 发送邮件
send_mail(f'MaxKB 智能知识库问答系统-{"用户注册" if state == "register" else "修改密码"}',
send_mail(f'智能知识库问答系统-{"用户注册" if state == "register" else "修改密码"}',
'',
html_message=f'{content.replace("${code}", code)}',
from_email=system_setting.meta.get('from_email'),