aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates/emails
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-18 21:41:50 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-02-18 21:41:50 +0100
commita2336c5de836267a4e88961422fc3f26cedab47e (patch)
tree18dbc1fb5d09cba02f5c54cae764f3610570d3ff /src/web/templates/emails
parentfix migration script (diff)
downloadnewspipe-a2336c5de836267a4e88961422fc3f26cedab47e.tar.gz
newspipe-a2336c5de836267a4e88961422fc3f26cedab47e.tar.bz2
newspipe-a2336c5de836267a4e88961422fc3f26cedab47e.zip
we now specify the validity period of the activation link.
Diffstat (limited to 'src/web/templates/emails')
-rw-r--r--src/web/templates/emails/account_activation.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/web/templates/emails/account_activation.txt b/src/web/templates/emails/account_activation.txt
new file mode 100644
index 00000000..ce7a8dc2
--- /dev/null
+++ b/src/web/templates/emails/account_activation.txt
@@ -0,0 +1,9 @@
+Hello {{ user.nickname }},
+
+Your account has been created.
+Click on the following link to confirm it:
+{{ platform_url }}user/confirm_account/{{ token }}
+
+The link expires at {{ expire_time.strftime('%Y-%m-%d %H:%M') }}.
+
+See you,
bgstack15