From 5ab80aae5a42a5c6287dc0f50a90dc5a94ee5665 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Tue, 24 May 2016 17:18:48 +0200 Subject: [PATCH] comment out redundant auth features --- src/wolnelektury/settings/auth.py | 2 +- src/wolnelektury/templates/auth/login.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 %} -- 2.20.1