mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-22 10:59:31 +00:00
Added form to allow a user to change its own password.
This commit is contained in:
parent
62fe4afd74
commit
1b8b5d927f
3 changed files with 73 additions and 2 deletions
|
|
@ -37,4 +37,20 @@
|
|||
{{ form_row(settings_form.reset) }}
|
||||
|
||||
{{ form_end(settings_form) }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{{ parent() }}
|
||||
|
||||
<div class="card mt-4">
|
||||
<div class="card-header">
|
||||
<i class="fa fa-key fa-fw" aria-hidden="true"></i>
|
||||
{% trans %}user.settings.change_pw{% endtrans %}
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{{ form_start(pw_form) }}
|
||||
{{ form_widget(pw_form) }}
|
||||
{{ form_end(pw_form) }}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue