Add password reset link
This commit is contained in:
parent
464aa1ab48
commit
d6fd2ba466
@ -5,6 +5,8 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
Hi {{ user.username }}!
|
Hi {{ user.username }}!
|
||||||
|
<br />
|
||||||
|
<a href="{% url 'password_change' %}">Change Password</a>
|
||||||
<form action="{% url 'logout' %}" method="post">
|
<form action="{% url 'logout' %}" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<button type="submit">Log out</button>
|
<button type="submit">Log out</button>
|
||||||
@ -14,5 +16,7 @@ Hi {{ user.username }}!
|
|||||||
<a href="{% url 'login' %}">Log In</a>
|
<a href="{% url 'login' %}">Log In</a>
|
||||||
<br />
|
<br />
|
||||||
<a href="{% url 'signup' %}">Sign Up</a>
|
<a href="{% url 'signup' %}">Sign Up</a>
|
||||||
|
<br />
|
||||||
|
<a href="{% url 'password_reset' %}">Forgot Password</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user