From 59c14c51c9ffcf978c6c30d3977d213dbf1d6ef3 Mon Sep 17 00:00:00 2001 From: Son NK Date: Wed, 20 Nov 2019 22:05:37 +0100 Subject: [PATCH] reset password email: use template --- templates/emails/reset-password.html | 244 +-------------------------- templates/emails/reset-password.txt | 2 +- 2 files changed, 8 insertions(+), 238 deletions(-) diff --git a/templates/emails/reset-password.html b/templates/emails/reset-password.html index 5ef25c0a..e7c246c2 100644 --- a/templates/emails/reset-password.html +++ b/templates/emails/reset-password.html @@ -1,239 +1,9 @@ - - - - - - +{% extends "base.html" %} - +{% block content %} + {{ render_text("Hi " + name + ",") }} + {{ render_text("You have asked to change your password.") }} + {{ render_text("To confirm, please click on the button below or use this link " + reset_password_link + " within 1 hour.") }} + {{ render_button("Reset password", reset_password_link) }} +{% endblock %} - - - - SimpleLogin | Reset password - - - - - - - - - -
- - - - - - - - - - -
- - - - - - - - Logo - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Hi {{name}}, -
- To reset or change your password, please click this link: -
-
- Reset Password - -
-
- Cheers.
- Son - SimpleLogin founder. -

-
- Have a question? son@simplelogin.io -
- - - - - - - - - - - - - - - - - - -
- - -
- - - \ No newline at end of file diff --git a/templates/emails/reset-password.txt b/templates/emails/reset-password.txt index 884d160d..7afcecba 100644 --- a/templates/emails/reset-password.txt +++ b/templates/emails/reset-password.txt @@ -1,6 +1,6 @@ Hi {{name}}, -To reset or change your password, please follow this link: +To reset or change your password, please click on this link: {{reset_password_link}}