perf: 优化用户创建邮件 (#7072)

* perf: 优化通知中的连接点击

* perf: 优化用户创建邮件

* perf: 优化时间日期

Co-authored-by: ibuler <ibuler@qq.com>
This commit is contained in:
fit2bot
2021-10-26 10:52:23 +08:00
committed by GitHub
parent 7c149fe91b
commit f88e5de3c1
7 changed files with 87 additions and 84 deletions

View File

@@ -22,7 +22,7 @@ def send_user_created_mail(user):
from .notifications import UserCreatedMsg
recipient_list = [user.email]
msg = UserCreatedMsg.html_msg
msg = UserCreatedMsg(user).html_msg
subject = msg['subject']
message = msg['message']