Skip to content

Commit

Permalink
Fix user details update
Browse files Browse the repository at this point in the history
  • Loading branch information
omab committed Aug 22, 2011
1 parent 759c5a2 commit b2c6489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion social_auth/backends/__init__.py
Expand Up @@ -214,7 +214,7 @@ def update_user_details(self, user, response, details, is_new=False):
# do not update username, it was already generated by
# self.username(...) and loaded in given instance
if name != USERNAME and value and value != getattr(user, name,
value):
None):
setattr(user, name, value)
changed = True

Expand Down

0 comments on commit b2c6489

Please sign in to comment.