diff options
| author | salmonik <salmonik@tuta.io> | 2026-07-12 19:38:03 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-07-12 19:38:03 +0200 |
| commit | ae7ef10b67737f08a86743f687bca30a12e9e17a (patch) | |
| tree | 056539ab76b801559dc8d07ee6599220e2bd8e07 /templates/change_password.html | |
| parent | architecture (diff) | |
| download | minecraft-ui-ae7ef10b67737f08a86743f687bca30a12e9e17a.tar.gz minecraft-ui-ae7ef10b67737f08a86743f687bca30a12e9e17a.zip | |
first stable
Diffstat (limited to '')
| -rw-r--r-- | templates/change_password.html | 24 |
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 %} | ||
