Closed GoogleCodeExporter closed 9 years ago
Ya thats right. Its a minor bug. Just place an {% if %} loop to check if the
logged in user is same as other_user
in the profile.
Patch.
In profile.html template
replace <a href="{% url avatar_change %}"
id="avatar_replace">(replace)</a>
with {% if is_me %}
<a href="{% url avatar_change %}" id="avatar_replace">(replace)</a>
{% endif %}
That makes sure the logged in user only can change his avatar.
Original comment by yash...@gmail.com
on 24 Jan 2009 at 8:01
Fixed in r1404.
Original comment by bros...@gmail.com
on 24 Jan 2009 at 9:18
Original issue reported on code.google.com by
Ben.Brow...@gmail.com
on 21 Jan 2009 at 10:07