Skip to content

Commit

Permalink
Forum member tags updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ellmetha committed Mar 23, 2015
1 parent e941a1c commit 168303d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion machina/templatetags/forum_member_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ def is_anonymous(user):
{% if topic.poster|is_anonymous %}...{% endif %}
"""
return user.id == settings.ANONYMOUS_USER_ID if hasattr(settings, 'ANONYMOUS_USER_ID') \
else False
else user.is_authenticated()

0 comments on commit 168303d

Please sign in to comment.