From 2c66d49af93754ce48effdf93ecaed2db590894b Mon Sep 17 00:00:00 2001 From: Sid Mitra Date: Tue, 10 Jan 2012 09:59:42 +0530 Subject: [PATCH] Passing request instance to pipeline methods. --- social_auth/backends/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/social_auth/backends/__init__.py b/social_auth/backends/__init__.py index 29e368b..28e836a 100644 --- a/social_auth/backends/__init__.py +++ b/social_auth/backends/__init__.py @@ -101,7 +101,6 @@ class SocialAuthBackend(ModelBackend): response = kwargs.get('response') details = self.get_user_details(response) uid = self.get_user_id(details, response) - out = self.pipeline(PIPELINE, backend=self, uid=uid, social_user=None, details=details, is_new=False, *args, **kwargs) @@ -117,7 +116,7 @@ class SocialAuthBackend(ModelBackend): user.is_new = kwargs.get('is_new') return user - def pipeline(self, pipeline, request, *args, **kwargs): + def pipeline(self, pipeline, *args, **kwargs): """Pipeline""" out = kwargs.copy() -- 2.39.5