events: fix email template for notifications
This commit is contained in:
parent
5c3f410016
commit
c0199933c8
|
@ -274,7 +274,7 @@ class NotificationTransport(models.Model):
|
||||||
)
|
)
|
||||||
mail = TemplateEmailMessage(
|
mail = TemplateEmailMessage(
|
||||||
subject=f"authentik Notification: {body_trunc}",
|
subject=f"authentik Notification: {body_trunc}",
|
||||||
template_name="email/setup.html",
|
template_name="email/generic.html",
|
||||||
to=[notification.user.email],
|
to=[notification.user.email],
|
||||||
template_context={
|
template_context={
|
||||||
"body": notification.body,
|
"body": notification.body,
|
||||||
|
|
Reference in New Issue