X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5ab80aae5a42a5c6287dc0f50a90dc5a94ee5665..c24cb792daedf95f0fb1978e83d20238e4b85580:/src/wolnelektury/templates/auth/login.html diff --git a/src/wolnelektury/templates/auth/login.html b/src/wolnelektury/templates/auth/login.html index d0713b0c8..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,7 +13,7 @@ </ol> </form> -{% comment %} +{% if USE_OPENID %} <h1>{% trans "Sign in using:" %}</h1> <ul class="socialaccount_providers"> @@ -22,7 +21,7 @@ </ul> {% include "socialaccount/snippets/login_extra.html" %} -{% endcomment %} +{% endif %} {% block extra %} {% endblock %}