From: Andres Villavicencio Date: Mon, 9 Jan 2012 04:42:31 +0000 (+0000) Subject: Fix to make SOCIAL_AUTH_NEW_USER_REDIRECT_URL work X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b55c1bb603e4032a04190967579a4432922ae72a;p=django-social-auth.git Fix to make SOCIAL_AUTH_NEW_USER_REDIRECT_URL work --- diff --git a/social_auth/backends/__init__.py b/social_auth/backends/__init__.py index 29e368b..d87aa06 100644 --- a/social_auth/backends/__init__.py +++ b/social_auth/backends/__init__.py @@ -114,7 +114,7 @@ class SocialAuthBackend(ModelBackend): # account user = social_user.user user.social_user = social_user - user.is_new = kwargs.get('is_new') + user.is_new = out['is_new'] return user def pipeline(self, pipeline, request, *args, **kwargs):