From: Jan Szejko Date: Tue, 24 May 2016 15:18:48 +0000 (+0200) Subject: comment out redundant auth features X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/5ab80aae5a42a5c6287dc0f50a90dc5a94ee5665 comment out redundant auth features --- diff --git a/src/wolnelektury/settings/auth.py b/src/wolnelektury/settings/auth.py index d1c6a8f4e..79da587e0 100644 --- a/src/wolnelektury/settings/auth.py +++ b/src/wolnelektury/settings/auth.py @@ -4,7 +4,7 @@ # AUTHENTICATION_BACKENDS = [ 'django.contrib.auth.backends.ModelBackend', - 'allauth.account.auth_backends.AuthenticationBackend', + # 'allauth.account.auth_backends.AuthenticationBackend', ] ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS = 2 LOGIN_URL = '/uzytkownik/login/' diff --git a/src/wolnelektury/templates/auth/login.html b/src/wolnelektury/templates/auth/login.html index 8509b4cf9..d0713b0c8 100644 --- a/src/wolnelektury/templates/auth/login.html +++ b/src/wolnelektury/templates/auth/login.html @@ -14,6 +14,7 @@ +{% comment %}

{% trans "Sign in using:" %}

{% include "socialaccount/snippets/login_extra.html" %} +{% endcomment %} {% block extra %} {% endblock %}