Handle passwords
This commit is contained in:
parent
e6d4f81533
commit
87d99c4875
5 changed files with 102 additions and 1 deletions
|
|
@ -99,7 +99,19 @@
|
|||
{% if user_error %}
|
||||
<div class="alert alert-danger">{{ user_error }}</div>
|
||||
{% endif %}
|
||||
<h2 class="title is-2">Mails</h2>
|
||||
<h2>Password</h2>
|
||||
<form action="/password" method="post">
|
||||
<div class="form-floating mb-3">
|
||||
<input type="password"
|
||||
class="form-control"
|
||||
id="newPassword"
|
||||
placeholder="password"
|
||||
name="password">
|
||||
<label for="newPassword">New Password</label>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">Change password</button>
|
||||
</form>
|
||||
<h2 class="title is-2 mt-2">Mails</h2>
|
||||
<ul class="list-group">
|
||||
{% for mail in mails %}
|
||||
<li class="list-group-item d-flex justify-content-between align-items-center">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue