From 01405d73d6839ae7e267482d483aecc628a67afd Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Tue, 10 May 2011 11:09:55 +0200 Subject: Added reset password functionality. --- templates/changepw/change_password.html | 8 +++-- templates/changepw/index.html | 28 +++++++++++++++ templates/changepw/reset_password.html | 24 +++++++++++++ urls.py | 5 ++- views.py | 61 ++++++++++++++++++++++++++------- 5 files changed, 109 insertions(+), 17 deletions(-) create mode 100644 templates/changepw/index.html create mode 100644 templates/changepw/reset_password.html diff --git a/templates/changepw/change_password.html b/templates/changepw/change_password.html index bb3f0c5..b0a919a 100644 --- a/templates/changepw/change_password.html +++ b/templates/changepw/change_password.html @@ -1,13 +1,15 @@ {% extends "base.html" %} {% block js %} - - + + {% endblock %} +{% block title %}Change password{% endblock %} {% block content %}

Change password

{% if form %}

When thinking of a new password you need to remember to use: