blob: 6dfc11c8cc93bd11cc165c02db4af8c922804d0d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{% extends "base.html" %}
{% block content %}
<h1>Change Password</h1>
{% if !error.is_empty() %}
<div class="flash flash-err">{{ error }}</div>
{% endif %}
{% if password_change_required %}
<div class="flash flash-warn">You must change your password before continuing.</div>
{% endif %}
<form action="/change-password" method="post" class="form-col">
<label>
Current Password
<input type="password" name="current_password" required autofocus>
</label>
<label>
New Password
<input type="password" name="new_password" required minlength="4">
</label>
<button type="submit" class="btn-ok">Change Password</button>
</form>
{% endblock %}
|