Added form to allow a user to change its own password.

This commit is contained in:
Jan Böhmer 2019-03-15 18:38:45 +01:00
parent 62fe4afd74
commit 1b8b5d927f
3 changed files with 73 additions and 2 deletions

View file

@ -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 %}