virtualenv/web/res/patch/django_contrib_auth_views.diff
author ymh <ymh.work@gmail.com>
Wed, 03 Jul 2024 14:26:30 +0200
changeset 369 1395a729018f
parent 0 87104b7cb3d6
permissions -rw-r--r--
Set about link in footer to https

--- Django-1.3/django/contrib/auth/views.py.OLD	jeu. avr. 14 15:48:14 2011
+++ Django-1.3/django/contrib/auth/views.py	jeu. avr. 14 15:48:32 2011
@@ -18,6 +18,9 @@
 from django.contrib.auth.tokens import default_token_generator
 from django.contrib.sites.models import get_current_site
 
+#CHANGE BY TC FOR IRI'S PLATFORM
+from social_auth.views import list as social_list
+#END TC
 
 @csrf_protect
 @never_cache
@@ -63,6 +66,7 @@
         redirect_field_name: redirect_to,
         'site': current_site,
         'site_name': current_site.name,
+        'social_list': social_list
     }
     context.update(extra_context or {})
     return render_to_response(template_name, context,