mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-04 08:55:40 +00:00
perf: 优化用户创建邮件 (#7072)
* perf: 优化通知中的连接点击 * perf: 优化用户创建邮件 * perf: 优化时间日期 Co-authored-by: ibuler <ibuler@qq.com>
This commit is contained in:
@@ -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']
|
||||
|
||||
|
Reference in New Issue
Block a user