From dea9a707dc89c0c585b17c114df2c18a41bea34d Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 23 Apr 2013 20:25:01 -0400 Subject: [PATCH] interim commit for password reset --- public/templates/emails/reset_plaintext.tpl | 10 +++++++ public/templates/footer.tpl | 2 +- public/templates/reset.tpl | 31 +++++++++++++++------ public/templates/reset_code.tpl | 12 +++++--- src/templates.js | 2 +- src/user.js | 17 +++++++---- src/webserver.js | 2 +- 7 files changed, 56 insertions(+), 20 deletions(-) create mode 100644 public/templates/emails/reset_plaintext.tpl diff --git a/public/templates/emails/reset_plaintext.tpl b/public/templates/emails/reset_plaintext.tpl new file mode 100644 index 0000000000..066b496491 --- /dev/null +++ b/public/templates/emails/reset_plaintext.tpl @@ -0,0 +1,10 @@ +Hello, + +We received a request to reset your password, possibly because you have forgotten it. If this is not the case, please ignore this email. + +To continue with the password reset, please click on the following link: + + {RESET_LINK} + +Thanks! +NodeBB \ No newline at end of file diff --git a/public/templates/footer.tpl b/public/templates/footer.tpl index 6379a7fe40..279d1389c1 100644 --- a/public/templates/footer.tpl +++ b/public/templates/footer.tpl @@ -7,7 +7,7 @@
- +