fixes
[wolnelektury.git] / src / wolnelektury / templates / auth / login.html
index 8509b4c..c32df0f 100644 (file)
@@ -1,11 +1,10 @@
 {% load i18n %}
-{% load ssi_csrf_token from ssify %}
 
 <h1>{{ title }}</h1>
 
 <form action="{{ request.get_full_path }}" method="post" accept-charset="utf-8"
       class="cuteform{% if placeholdize %} hidelabels{% endif %}">
-  {% ssi_csrf_token %}
+  {% csrf_token %}
   <ol>
     <div id="id_{% if form_prefix %}{{ form_prefix }}-{% endif %}__all__"></div>
     {{ form.as_ul }}
@@ -14,6 +13,7 @@
   </ol>
 </form>
 
+{% if USE_OPENID %}
 <h1>{% trans "Sign in using:" %}</h1>
 
 <ul class="socialaccount_providers">
@@ -21,6 +21,7 @@
 </ul>
 
 {% include "socialaccount/snippets/login_extra.html" %}
+{% endif %}
 
 {% block extra %}
 {% endblock %}