[Python-modules-commits] [python-social-auth] 14/32: Add comment refering to ticket. Refs #671, #672
Wolfgang Borgert
debacle at moszumanska.debian.org
Sat Dec 24 15:13:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to tag v0.2.12
in repository python-social-auth.
commit fff27d7b848ad12e29a8fc1160308b99ca002d72
Author: Matías Aguirre <matiasaguirre at gmail.com>
Date: Thu Jul 9 14:55:24 2015 -0300
Add comment refering to ticket. Refs #671, #672
---
social/pipeline/user.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/social/pipeline/user.py b/social/pipeline/user.py
index aa1ddcc..38784ca 100644
--- a/social/pipeline/user.py
+++ b/social/pipeline/user.py
@@ -84,6 +84,7 @@ def user_details(strategy, details, user=None, *args, **kwargs):
# on fields defined in SOCIAL_AUTH_PROTECTED_FIELDS.
for name, value in details.items():
if value and hasattr(user, name):
+ # Check https://github.com/omab/python-social-auth/issues/671
current_value = getattr(user, name, None)
if not current_value or name not in protected:
changed |= current_value != value
--
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