Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix user email in overview template

Roland Geider64da90a15cd5
diff --git a/wger/core/templates/user/overview.html b/wger/core/templates/user/overview.html
index e570cc79b..4b49ce15a 100644
--- a/wger/core/templates/user/overview.html
+++ b/wger/core/templates/user/overview.html
@@ -121,7 +121,7 @@
<tr>
<td>{% trans "Email" %}</td>
<td>
- {% if user.email %}
+ {% if current_user.email %}
<a href="mailto:{{current_user.email}}">{{current_user.email}}</a>
{% else %}
-/-