X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/45696bbb638e45271f2c108616f7a9427cf87f7d..7010b5cb6b4e4380d9e23add9c7c98431b6e3f95:/src/wolnelektury/templates/auth/login.html?ds=sidebyside

diff --git a/src/wolnelektury/templates/auth/login.html b/src/wolnelektury/templates/auth/login.html
index 8509b4cf9..c32df0f79 100644
--- a/src/wolnelektury/templates/auth/login.html
+++ b/src/wolnelektury/templates/auth/login.html
@@ -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 %}