diff --git a/app/templates/users/profile.html b/app/templates/users/profile.html index dbbf1a32..d420a4b6 100644 --- a/app/templates/users/profile.html +++ b/app/templates/users/profile.html @@ -17,7 +17,7 @@ {% endif %} - {% if current_user.rank.atLeast(current_user.rank.MODERATOR) and user.email %} + {% if current_user.is_authenticated and current_user.rank.atLeast(current_user.rank.MODERATOR) and user.email %} {{ _("Send Email") }}