From: ryr Date: Thu, 18 Aug 2011 12:33:58 +0000 (+0700) Subject: revert to original file X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=fb0110234f4f0070eca2ba1114ceb20e61dc88e9;p=django-social-auth.git revert to original file --- diff --git a/social_auth/backends/__init__.py b/social_auth/backends/__init__.py index 4ddff7a..ead15ea 100644 --- a/social_auth/backends/__init__.py +++ b/social_auth/backends/__init__.py @@ -232,14 +232,13 @@ class SocialAuthBackend(ModelBackend): kwargs = {'sender': self.__class__, 'user': user, 'response': response, 'details': details} + changed |= any(filter(signal_response, pre_update.send(**kwargs))) # Fire socialauth_registered signal on new user registration if is_new: changed |= any(filter(signal_response, socialauth_registered.send(**kwargs))) - changed |= any(filter(signal_response, pre_update.send(**kwargs))) - if changed: user.save()