feat: add email template for invite new user in workspace (#1810)

This commit is contained in:
crazywoola 2023-12-21 11:09:41 +08:00 committed by GitHub
commit 1521ac5563
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 339 additions and 533 deletions

View file

@ -479,6 +479,7 @@ class RegisterService:
# send email
send_invite_member_mail_task.delay(
language=account.interface_language,
to=email,
token=token,
inviter_name=inviter.name if inviter else 'Dify',