From b499f31dfcb4e3cf27c34ae0958612a9d43bf910 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 18 Mar 2019 16:05:36 +0000 Subject: add errors, email, and reset password --- app/templates/email/reset_password.html | 12 ++++++++++++ app/templates/email/reset_password.txt | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 app/templates/email/reset_password.html create mode 100644 app/templates/email/reset_password.txt (limited to 'app/templates/email') diff --git a/app/templates/email/reset_password.html b/app/templates/email/reset_password.html new file mode 100644 index 0000000..f7403a5 --- /dev/null +++ b/app/templates/email/reset_password.html @@ -0,0 +1,12 @@ +

Dear {{ user.username }},

+

+ To reset your password + + click here + . +

+

Alternatively, you can paste the following link in your browser's address bar:

+

{{ url_for('reset_password', token=token, _external=True) }}

+

If you have not requested a password reset then you can simply ignore this email.

+

Sincerely,

+

The AnnotateChange Team

diff --git a/app/templates/email/reset_password.txt b/app/templates/email/reset_password.txt new file mode 100644 index 0000000..da1330f --- /dev/null +++ b/app/templates/email/reset_password.txt @@ -0,0 +1,11 @@ +Dear {{ user.username }}, + +To reset your password click on the following link: + +{{ url_for('reset_password', token=token, _external=True) }} + +If you have not requested a password reset then you can simply ignore this email. + +Sincerely, + +The AnnotateChange Team -- cgit v1.2.3