aboutsummaryrefslogtreecommitdiff
path: root/app/templates/email
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-03-26 16:17:11 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-03-26 16:17:11 +0000
commit98f0fcdcbdbbd91a2a4da6b44229a178ddb38d31 (patch)
treeec6f1254bab7e65954694704a20c947fa268649e /app/templates/email
parentAdd email confirmation field (diff)
downloadAnnotateChange-98f0fcdcbdbbd91a2a4da6b44229a178ddb38d31.tar.gz
AnnotateChange-98f0fcdcbdbbd91a2a4da6b44229a178ddb38d31.zip
Add support for email confirmation
Diffstat (limited to 'app/templates/email')
-rw-r--r--app/templates/email/confirm_email.html8
-rw-r--r--app/templates/email/confirm_email.txt11
2 files changed, 19 insertions, 0 deletions
diff --git a/app/templates/email/confirm_email.html b/app/templates/email/confirm_email.html
new file mode 100644
index 0000000..4581804
--- /dev/null
+++ b/app/templates/email/confirm_email.html
@@ -0,0 +1,8 @@
+<p>Dear {{ user.username }},
+<p>Welcome to AnnotateChange!</p>
+<p>Please confirm your email by <a href="{{ url_for('auth.confirm_email', token=token, _external=True) }}">clicking here</a>.
+</p>
+<p>Alternatively, you can paste the following link in your browser's address bar:</p>
+<p>{{ url_for('auth.confirm_email', token=token, _external=True) }}</p>
+<p>Sincerely,</p>
+<p>The AnnotateChange Team</p>
diff --git a/app/templates/email/confirm_email.txt b/app/templates/email/confirm_email.txt
new file mode 100644
index 0000000..b17c66d
--- /dev/null
+++ b/app/templates/email/confirm_email.txt
@@ -0,0 +1,11 @@
+Dear {{ user.username }},
+
+Welcome to AnnotateChange!
+
+Please confirm your email by clicking on the following link:
+
+{{ url_for('auth.confirm_email', token=token, _external=True) }}
+
+Sincerely,
+
+The AnnotateChange Team