From c2e9dcbc2bff56e1bb532b744222a7a8430ef1a6 Mon Sep 17 00:00:00 2001 From: William Leighton Dawson Date: Thu, 21 Nov 2024 11:46:29 +0200 Subject: [PATCH] Move token exposed template --- canarytokens/channel_output_email.py | 2 +- ...tml => _generated_dont_edit_notification_token_exposed.html} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename templates/emails/{notification_token_exposed.html => _generated_dont_edit_notification_token_exposed.html} (100%) diff --git a/canarytokens/channel_output_email.py b/canarytokens/channel_output_email.py index 317be0031..54233c8e2 100644 --- a/canarytokens/channel_output_email.py +++ b/canarytokens/channel_output_email.py @@ -499,7 +499,7 @@ def do_send_alert( email_content_html = EmailOutputChannel.format_token_exposed_html( details, Path( - f"{self.switchboard_settings.TEMPLATES_PATH}/emails/notification_token_exposed.html" + f"{self.switchboard_settings.TEMPLATES_PATH}/emails/_generated_dont_edit_notification_token_exposed.html" ), ) email_content_text = EmailOutputChannel.format_token_exposed_text(details) diff --git a/templates/emails/notification_token_exposed.html b/templates/emails/_generated_dont_edit_notification_token_exposed.html similarity index 100% rename from templates/emails/notification_token_exposed.html rename to templates/emails/_generated_dont_edit_notification_token_exposed.html