From df4c603dea022146476812cbbc2b9f8f1e5e4870 Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Tue, 5 May 2020 20:22:22 +0200 Subject: Switch emails to pug templates and provide richer html/text-only versions --- server/lib/emails/password-reset/html.pug | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 server/lib/emails/password-reset/html.pug (limited to 'server/lib/emails/password-reset') diff --git a/server/lib/emails/password-reset/html.pug b/server/lib/emails/password-reset/html.pug new file mode 100644 index 000000000..bb6a9d16b --- /dev/null +++ b/server/lib/emails/password-reset/html.pug @@ -0,0 +1,12 @@ +extends ../common/greetings + +block title + | Password reset for your account + +block content + p. + A reset password procedure for your account ${to} has been requested on #[a(href=WEBSERVER.URL) #{WEBSERVER.HOST}]. + Please follow #[a(href=resetPasswordUrl) this link] to reset it: #[a(href=resetPasswordUrl) #{resetPasswordUrl}] + (the link will expire within 1 hour) + p. + If you are not the person who initiated this request, please ignore this email. \ No newline at end of file -- cgit v1.2.3