aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates/reset_password.html
diff options
context:
space:
mode:
author0livd <github@destras.fr>2017-10-26 19:46:34 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2017-10-26 19:46:34 +0200
commitb94bad829c1fd4b4325a4af280d33d50f164e05f (patch)
treee1d090759cdd248f1511bd349d7ff26b180e1529 /ihatemoney/templates/reset_password.html
parentb4961f646a6e265451aa414df9fb0d58b552ffdf (diff)
downloadihatemoney-mirror-b94bad829c1fd4b4325a4af280d33d50f164e05f.zip
ihatemoney-mirror-b94bad829c1fd4b4325a4af280d33d50f164e05f.tar.gz
ihatemoney-mirror-b94bad829c1fd4b4325a4af280d33d50f164e05f.tar.bz2
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
Diffstat (limited to 'ihatemoney/templates/reset_password.html')
-rw-r--r--ihatemoney/templates/reset_password.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/ihatemoney/templates/reset_password.html b/ihatemoney/templates/reset_password.html
new file mode 100644
index 0000000..78b5853
--- /dev/null
+++ b/ihatemoney/templates/reset_password.html
@@ -0,0 +1,12 @@
+{% extends "layout.html" %}
+
+{% block content %}
+{% if error %}
+<div class="alert alert-danger">{{ error }}</div>
+{% else %}
+<h2>{{ _("Reset your password") }}</h2>
+<form class="form-horizontal" method="post">
+{{ forms.reset_password(form) }}
+</form>
+{% endif %}
+{% endblock %}