]> git.parisson.com Git - django-social-auth.git/commitdiff
Fix to make SOCIAL_AUTH_NEW_USER_REDIRECT_URL work
authorAndres Villavicencio <andres@unholster.com>
Mon, 9 Jan 2012 04:42:31 +0000 (04:42 +0000)
committerAndres Villavicencio <andres@unholster.com>
Mon, 9 Jan 2012 04:42:31 +0000 (04:42 +0000)
social_auth/backends/__init__.py

index 29e368b4b4a761f1a6d9b53124bfd8e95cffb659..d87aa06c6cc2dee5dd547d48d665b8e6fdcd7cef 100644 (file)
@@ -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):