summaryrefslogtreecommitdiffstats
path: root/templates/change_password.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/change_password.html')
-rw-r--r--templates/change_password.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/change_password.html b/templates/change_password.html
new file mode 100644
index 0000000..6dfc11c
--- /dev/null
+++ b/templates/change_password.html
@@ -0,0 +1,24 @@
1{% extends "base.html" %}
2{% block content %}
3<h1>Change Password</h1>
4
5{% if !error.is_empty() %}
6<div class="flash flash-err">{{ error }}</div>
7{% endif %}
8
9{% if password_change_required %}
10<div class="flash flash-warn">You must change your password before continuing.</div>
11{% endif %}
12
13<form action="/change-password" method="post" class="form-col">
14 <label>
15 Current Password
16 <input type="password" name="current_password" required autofocus>
17 </label>
18 <label>
19 New Password
20 <input type="password" name="new_password" required minlength="4">
21 </label>
22 <button type="submit" class="btn-ok">Change Password</button>
23</form>
24{% endblock %}