[Python-modules-commits] [python-social-auth] 07/131: setting is_new value to False when associate_by_email found a user with corresponding email
Wolfgang Borgert
debacle at moszumanska.debian.org
Sat Dec 24 15:16:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to tag v0.2.20
in repository python-social-auth.
commit 63bcd3135d9655505717f598af366fba7348d062
Author: falcon1kr <falcon1kr at hotmail.com>
Date: Tue Dec 8 18:02:40 2015 -0800
setting is_new value to False when associate_by_email found a user with corresponding email
---
social/pipeline/social_auth.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/social/pipeline/social_auth.py b/social/pipeline/social_auth.py
index 697bf1a..ff99404 100644
--- a/social/pipeline/social_auth.py
+++ b/social/pipeline/social_auth.py
@@ -78,7 +78,8 @@ def associate_by_email(backend, details, user=None, *args, **kwargs):
'The given email address is associated with another account'
)
else:
- return {'user': users[0]}
+ return {'user': users[0],
+ 'is_new': False}
def load_extra_data(backend, details, response, uid, user, *args, **kwargs):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git
More information about the Python-modules-commits
mailing list