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-create/html.pug | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 server/lib/emails/password-create/html.pug (limited to 'server/lib/emails/password-create/html.pug') diff --git a/server/lib/emails/password-create/html.pug b/server/lib/emails/password-create/html.pug new file mode 100644 index 000000000..45ff3078a --- /dev/null +++ b/server/lib/emails/password-create/html.pug @@ -0,0 +1,10 @@ +extends ../common/greetings + +block title + | Password creation for your account + +block content + p. + Welcome to #[a(href=WEBSERVER.URL) #{WEBSERVER.HOST}], your PeerTube instance. Your username is: #{username}. + Please set your password by following #[a(href=createPasswordUrl) this link]: #[a(href=createPasswordUrl) #{createPasswordUrl}] + (this link will expire within seven days). \ No newline at end of file -- cgit v1.2.3