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/reset_password.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 templates/changepw/reset_password.html (limited to 'templates/changepw/reset_password.html') diff --git a/templates/changepw/reset_password.html b/templates/changepw/reset_password.html new file mode 100644 index 0000000..a9e49e2 --- /dev/null +++ b/templates/changepw/reset_password.html @@ -0,0 +1,24 @@ +{% extends "base.html" %} +{% block js %} +{% endblock %} +{% block title %}Password reset{% endblock %} +{% block content %} +

Password reset

+ +{% if return_value == 0 %} +

Here is your new password:

+ + + + + + + +
Username:{{ username }}
Password:{{ username }}/ppp
+{% else %} +

Something went wrong. Please contact an administrator.

+

Return code: {{ return_value }}

+{% endif %} + +

Log out

+{% endblock %} -- cgit v1.1