From c0199933c8a7b651d19a7d5749ecb6d2d0c4d878 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 27 Jan 2021 13:22:43 +0100 Subject: [PATCH] events: fix email template for notifications --- authentik/events/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/events/models.py b/authentik/events/models.py index b28a71423..3730aae92 100644 --- a/authentik/events/models.py +++ b/authentik/events/models.py @@ -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,