diff options
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 %} |