Skip to content

Commit

Permalink
Merge pull request omab#183 from sunscrapers/master
Browse files Browse the repository at this point in the history
Fix for is_new user flag in social_auth.views.complete_process
  • Loading branch information
omab committed Nov 24, 2011
2 parents 625dc72 + e1cec83 commit f28ab09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions social_auth/backends/__init__.py
Expand Up @@ -143,6 +143,7 @@ def authenticate(self, *args, **kwargs):
# 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):
Expand Down

0 comments on commit f28ab09

Please sign in to comment.