events: fix email template for notifications

This commit is contained in:
Jens Langhammer 2021-01-27 13:22:43 +01:00
parent 5c3f410016
commit c0199933c8

View file

@ -274,7 +274,7 @@ class NotificationTransport(models.Model):
)
mail = TemplateEmailMessage(
subject=f"authentik Notification: {body_trunc}",
template_name="email/setup.html",
template_name="email/generic.html",
to=[notification.user.email],
template_context={
"body": notification.body,