From b94bad829c1fd4b4325a4af280d33d50f164e05f Mon Sep 17 00:00:00 2001 From: 0livd Date: Thu, 26 Oct 2017 19:46:34 +0200 Subject: Use token based auth to reset passwords (#269) Send a mail containing a password reset token link instead of sending a clear text password. Ref #232 --- ihatemoney/templates/reminder_mail.en | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ihatemoney/templates/reminder_mail.en') diff --git a/ihatemoney/templates/reminder_mail.en b/ihatemoney/templates/reminder_mail.en index fe57be2..f13da5d 100644 --- a/ihatemoney/templates/reminder_mail.en +++ b/ihatemoney/templates/reminder_mail.en @@ -2,7 +2,7 @@ Hi, You have just (or someone else using your email address) created the project "{{ g.project.name }}" to share your expenses. -You can access it here: {{ config['SITE_URL'] }}{{ url_for(".list_bills") }} (the identifier is {{ g.project.id }}), +You can access it here: {{ url_for(".list_bills", _external=True) }} (the identifier is {{ g.project.id }}), and the private code is "{{ g.project.password }}". Enjoy, -- cgit v1.1