diff options
| author | 0livd <github@destras.fr> | 2017-10-26 19:46:34 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2017-10-26 19:46:34 +0200 |
| commit | b94bad829c1fd4b4325a4af280d33d50f164e05f (patch) | |
| tree | e1d090759cdd248f1511bd349d7ff26b180e1529 /ihatemoney/templates/forms.html | |
| parent | b4961f646a6e265451aa414df9fb0d58b552ffdf (diff) | |
| download | ihatemoney-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/forms.html')
| -rw-r--r-- | ihatemoney/templates/forms.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ihatemoney/templates/forms.html b/ihatemoney/templates/forms.html index ffdd165..63d1c3c 100644 --- a/ihatemoney/templates/forms.html +++ b/ihatemoney/templates/forms.html @@ -159,10 +159,18 @@ {% endmacro %} {% macro remind_password(form) %} - {% include "display_errors.html" %} {{ form.hidden_tag() }} {{ input(form.id) }} {{ submit(form.submit) }} {% endmacro %} + +{% macro reset_password(form) %} + {% include "display_errors.html" %} + {{ form.hidden_tag() }} + {{ input(form.password) }} + {{ input(form.password_confirmation) }} + {{ submit(form.submit) }} + +{% endmacro %} |
