Browse Source

Display valid auth form.

Rafał Pitoń 10 years ago
parent
commit
48536a0ac1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misago/templates/misago/auth.html

+ 1 - 1
misago/templates/misago/auth.html

@@ -1,5 +1,5 @@
 {% load i18n %}
 {% load i18n %}
-{% if user.is_authenticated %}
+{% if user.is_anonymous %}
 <form id='hidden-login-form' method="post" action="{% url LOGIN_URL %}" style="display: none;">
 <form id='hidden-login-form' method="post" action="{% url LOGIN_URL %}" style="display: none;">
   {% csrf_token %}
   {% csrf_token %}
   <input name="username" type="text">
   <input name="username" type="text">