comment out redundant auth features
authorJan Szejko <jan.szejko@gmail.com>
Tue, 24 May 2016 15:18:48 +0000 (17:18 +0200)
committerJan Szejko <jan.szejko@gmail.com>
Tue, 24 May 2016 15:18:48 +0000 (17:18 +0200)
src/wolnelektury/settings/auth.py
src/wolnelektury/templates/auth/login.html

index d1c6a8f..79da587 100644 (file)
@@ -4,7 +4,7 @@
 #
 AUTHENTICATION_BACKENDS = [
     'django.contrib.auth.backends.ModelBackend',
 #
 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/'
 ]
 ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS = 2
 LOGIN_URL = '/uzytkownik/login/'
index 8509b4c..d0713b0 100644 (file)
@@ -14,6 +14,7 @@
   </ol>
 </form>
 
   </ol>
 </form>
 
+{% comment %}
 <h1>{% trans "Sign in using:" %}</h1>
 
 <ul class="socialaccount_providers">
 <h1>{% trans "Sign in using:" %}</h1>
 
 <ul class="socialaccount_providers">
@@ -21,6 +22,7 @@
 </ul>
 
 {% include "socialaccount/snippets/login_extra.html" %}
 </ul>
 
 {% include "socialaccount/snippets/login_extra.html" %}
+{% endcomment %}
 
 {% block extra %}
 {% endblock %}
 
 {% block extra %}
 {% endblock %}