Commit adc053cb authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers 😸

ensure that email and password reset buttons are on the profile page

parent 4edfa166
Pipeline #1817 passed with stages
in 2 minutes and 7 seconds
......@@ -19,3 +19,4 @@ DATABASES = {
}
FILEPROVIDER_NAME = "python"
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
......@@ -19,8 +19,13 @@
<div class="col-3">
<h1>{% user_display profile %}</h1>
<div class="bg-faded">
{% if user.pk == profile.pk %}
<ul>
<li>Email: {{profile.email|default:"not provided"}}</li>
<li><a href="{% url 'account_email' %}">Change email</a></li>
<li><a href="{% url 'account_change_password' %}">Change password</a></li>
</ul>
{% endif %}
</div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment