Skip to content

Commit

Permalink
Set is_new flag on pipeline if user is not new. Refs #201
Browse files Browse the repository at this point in the history
  • Loading branch information
omab committed Feb 27, 2014
1 parent 2aa40fb commit 21f462f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion social/pipeline/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def get_username(strategy, details, user=None, *args, **kwargs):

def create_user(strategy, details, response, uid, user=None, *args, **kwargs):
if user:
return
return {'is_new': False}

fields = dict((name, kwargs.get(name) or details.get(name))
for name in strategy.setting('USER_FIELDS',
Expand Down

0 comments on commit 21f462f

Please sign in to comment.