From b67f0d53b2b83300cfaa5372d84af5b7588f3958 Mon Sep 17 00:00:00 2001 From: LordNoteworthy Date: Sun, 8 Dec 2024 10:46:18 +1100 Subject: [PATCH] fix: include email in reset confirmation email --- internal/auth/api.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/auth/api.go b/internal/auth/api.go index 3ed891d..a1cbfba 100644 --- a/internal/auth/api.go +++ b/internal/auth/api.go @@ -305,6 +305,7 @@ func (r resource) resendConfirmation(c echo.Context) error { templateData := struct { Username string Token string + Email string Guid string LoginURL string LiveChatURL string @@ -314,6 +315,7 @@ func (r resource) resendConfirmation(c echo.Context) error { Username: resp.username, Token: resp.token, Guid: resp.guid, + Email: req.Email, LoginURL: "https://saferwall.com/auth/login", LiveChatURL: "https://discord.gg/an37PYHeZP", HelpURL: "https://about.saferwall.com/",