From: Przemek Lewandowski Date: Thu, 24 Nov 2011 14:30:55 +0000 (+0100) Subject: Fixed is_new user flag from pipelines to complete_process view helper. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=e1cec83cf6838a391b5810a655a0994f85c625de;p=django-social-auth.git Fixed is_new user flag from pipelines to complete_process view helper. --- diff --git a/social_auth/backends/__init__.py b/social_auth/backends/__init__.py index 182b3f5..53c6cb3 100644 --- a/social_auth/backends/__init__.py +++ b/social_auth/backends/__init__.py @@ -143,6 +143,7 @@ class SocialAuthBackend(ModelBackend): # account user = social_user.user user.social_user = social_user + user.is_new = kwargs.get('is_new') return user def extra_data(self, user, uid, response, details):