From dd8e4dec6c986ec01d9f9425eaf79cb3dabd62a9 Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Sat, 10 Jan 2026 23:57:46 +0100 Subject: [PATCH] include expiration in email --- backend/resources/email-templates/email-verification_html.tmpl | 2 +- backend/resources/email-templates/email-verification_text.tmpl | 2 +- email-templates/emails/email-verification.tsx | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/resources/email-templates/email-verification_html.tmpl b/backend/resources/email-templates/email-verification_html.tmpl index e51d0aa2..3d32f78f 100644 --- a/backend/resources/email-templates/email-verification_html.tmpl +++ b/backend/resources/email-templates/email-verification_html.tmpl @@ -1 +1 @@ -{{define "root"}}
{{.AppName}}

{{.AppName}}

Email Verification

Hello {{.Data.UserFullName}},
Click the button below to verify your email address for {{.AppName}}.

{{end}} \ No newline at end of file +{{define "root"}}
{{.AppName}}

{{.AppName}}

Email Verification

Hello {{.Data.UserFullName}},
Click the button below to verify your email address for {{.AppName}}. This link will expire in 24 hours.

{{end}} \ No newline at end of file diff --git a/backend/resources/email-templates/email-verification_text.tmpl b/backend/resources/email-templates/email-verification_text.tmpl index c22b0935..660394ed 100644 --- a/backend/resources/email-templates/email-verification_text.tmpl +++ b/backend/resources/email-templates/email-verification_text.tmpl @@ -4,7 +4,7 @@ EMAIL VERIFICATION Hello {{.Data.UserFullName}}, -Click the button below to verify your email address for {{.AppName}}. +Click the button below to verify your email address for {{.AppName}}. This link will expire in 24 hours. Verify {{.Data.VerificationLink}}{{end}} \ No newline at end of file diff --git a/email-templates/emails/email-verification.tsx b/email-templates/emails/email-verification.tsx index ae63c6c6..11e4d4c2 100644 --- a/email-templates/emails/email-verification.tsx +++ b/email-templates/emails/email-verification.tsx @@ -25,7 +25,8 @@ export const EmailVerification = ({ Hello {data.userFullName},
- Click the button below to verify your email address for {appName}. + Click the button below to verify your email address for {appName}. This + link will expire in 24 hours.