Add password change and reset functionality with corresponding views and templates
This commit is contained in:
parent
a24fb897a3
commit
da1c750771
5 changed files with 61 additions and 2 deletions
8
base/templates/registration/password_change_form.html
Normal file
8
base/templates/registration/password_change_form.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{% extends "base.html" %}
|
||||
{% load form %}
|
||||
{% block content %}
|
||||
<h1>
|
||||
<i class="ri-lock-password-line"></i> Changer mon mot de passe
|
||||
</h1>
|
||||
{% form form submit="Changer mon mot de passe" %}
|
||||
{% endblock content %}
|
8
base/templates/registration/password_reset_confirm.html
Normal file
8
base/templates/registration/password_reset_confirm.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{% extends "base.html" %}
|
||||
{% load form %}
|
||||
{% block content %}
|
||||
<h1>
|
||||
<i class="ri-lock-password-line"></i> Réinitialiser mon mot de passe
|
||||
</h1>
|
||||
{% form form submit="Réinitialiser mon mot de passe" %}
|
||||
{% endblock content %}
|
8
base/templates/registration/password_reset_form.html
Normal file
8
base/templates/registration/password_reset_form.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{% extends "base.html" %}
|
||||
{% load form %}
|
||||
{% block content %}
|
||||
<h1>
|
||||
<i class="ri-lock-password-line"></i> Réinitialiser mon mot de passe
|
||||
</h1>
|
||||
{% form form submit="Réinitialiser mon mot de passe" %}
|
||||
{% endblock content %}
|
Loading…
Add table
Add a link
Reference in a new issue