Add password reset link

This commit is contained in:
Lucas Schumacher 2024-06-28 15:31:52 -04:00
parent 464aa1ab48
commit d6fd2ba466

View File

@ -5,6 +5,8 @@
{% block content %}
{% if user.is_authenticated %}
Hi {{ user.username }}!
<br />
<a href="{% url 'password_change' %}">Change Password</a>
<form action="{% url 'logout' %}" method="post">
{% csrf_token %}
<button type="submit">Log out</button>
@ -14,5 +16,7 @@ Hi {{ user.username }}!
<a href="{% url 'login' %}">Log In</a>
<br />
<a href="{% url 'signup' %}">Sign Up</a>
<br />
<a href="{% url 'password_reset' %}">Forgot Password</a>
{% endif %}
{% endblock %}