mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-05 10:44:53 +02:00
Added an mechanism to reset passwords via mail.
This commit is contained in:
parent
0716b8ff93
commit
6a0d027675
20 changed files with 2373 additions and 64 deletions
|
@ -59,4 +59,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<a class="offset-2" href="{{ url('pw_reset_request') }}">{% trans %}pw_reset.password_forget{% endtrans %}</a>
|
||||
{% endblock %}
|
11
templates/security/pw_reset_new_pw.html.twig
Normal file
11
templates/security/pw_reset_new_pw.html.twig
Normal file
|
@ -0,0 +1,11 @@
|
|||
{% extends "main_card.html.twig" %}
|
||||
|
||||
{% block card_title %}
|
||||
<i class="fas fa-key"></i>
|
||||
{% trans %}pw_reset.new_pw.header.title{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block card_content %}
|
||||
{{ form_start(form) }}
|
||||
{{ form_end(form) }}
|
||||
{% endblock %}
|
11
templates/security/pw_reset_request.html.twig
Normal file
11
templates/security/pw_reset_request.html.twig
Normal file
|
@ -0,0 +1,11 @@
|
|||
{% extends "main_card.html.twig" %}
|
||||
|
||||
{% block card_title %}
|
||||
<i class="fas fa-key"></i>
|
||||
{% trans %}pw_reset.request.header.title{% endtrans %}
|
||||
{% endblock %}
|
||||
|
||||
{% block card_content %}
|
||||
{{ form_start(form) }}
|
||||
{{ form_end(form) }}
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue