summaryrefslogtreecommitdiffstats
path: root/accounts/templates/mail/lost_password.txt
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/templates/mail/lost_password.txt')
-rw-r--r--accounts/templates/mail/lost_password.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/accounts/templates/mail/lost_password.txt b/accounts/templates/mail/lost_password.txt
index 5eaa654..6d38f15 100644
--- a/accounts/templates/mail/lost_password.txt
+++ b/accounts/templates/mail/lost_password.txt
@@ -1,11 +1,19 @@
+{% extends 'mail/_base.txt' %}
+
+{% block subject %}Passwort vergessen{% endblock %}
+{% block sender %}{{ config['MAIL_CONFIRM_SENDER'] }}{% endblock %}
+
+{% block body -%}
Hallo {{ username }},
Jemand, vermutlich du, hat auf spline accounts einen Link zum Ändern
deines Passworts angefordert.
Hier kannst du dein Passwort ändern:
- <{{ link }}>
+ <{{ url_for('default.lost_password_complete', _external=True,
+ token=confirm('lost_password', username)) }}>
Wenn du diese Mail nicht angefordert hast, brauchst du nichts
weiter zu tun. Dein altes Passwort bleibt dann weiter gültig.
+{% endblock %}