summaryrefslogtreecommitdiff
path: root/templates/changepw/reset_password.html
blob: d231f512d36ef81f1373215c2de66359f9f48501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% 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>
            <th>Username:</th><td>{{ username }}</td>
        </tr>
        <tr>
            <th>Password:</th><td>{{ new_password }}</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 %}