diff options
| author | Johan Lundberg <lundberg@nordu.net> | 2011-05-10 11:09:55 +0200 |
|---|---|---|
| committer | Johan Lundberg <lundberg@nordu.net> | 2011-05-10 11:09:55 +0200 |
| commit | 01405d73d6839ae7e267482d483aecc628a67afd (patch) | |
| tree | e49518ab3e6a4bde6622b449b5047978cd60fcbf /templates/changepw/reset_password.html | |
| parent | 1c7bea1c752b7cb9b258230d16006a17b2ed1f8d (diff) | |
Added reset password functionality.
Diffstat (limited to 'templates/changepw/reset_password.html')
| -rw-r--r-- | templates/changepw/reset_password.html | 24 |
1 files changed, 24 insertions, 0 deletions
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 %} +<h2>Password reset</h2> + +{% if return_value == 0 %} + <p>Here is your new password:</p> + <table> + <tr> + <td>Username:</td><td>{{ username }}</td> + </tr> + <tr> + <td>Password:</td><td>{{ username }}/ppp</td> + </tr> + </table> +{% else %} + <p>Something went wrong. Please contact an administrator.</p> + <p>Return code: {{ return_value }}</p> +{% endif %} + +<p><a href="{% url logout %}">Log out</a></p> +{% endblock %} |
