diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-26 16:17:11 +0000 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-03-26 16:17:11 +0000 |
| commit | 98f0fcdcbdbbd91a2a4da6b44229a178ddb38d31 (patch) | |
| tree | ec6f1254bab7e65954694704a20c947fa268649e /app/templates/email | |
| parent | Add email confirmation field (diff) | |
| download | AnnotateChange-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.html | 8 | ||||
| -rw-r--r-- | app/templates/email/confirm_email.txt | 11 |
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 |
