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
1 changed files with 1 additions and 1 deletions

View File

@ -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,