Skip to content

Commit fff27d7

Browse files
committed
Add comment refering to ticket. Refs #671, #672
1 parent bfb3b22 commit fff27d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

social/pipeline/user.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def user_details(strategy, details, user=None, *args, **kwargs):
8484
# on fields defined in SOCIAL_AUTH_PROTECTED_FIELDS.
8585
for name, value in details.items():
8686
if value and hasattr(user, name):
87+
# Check https://github.com/omab/python-social-auth/issues/671
8788
current_value = getattr(user, name, None)
8889
if not current_value or name not in protected:
8990
changed |= current_value != value

0 commit comments

Comments
 (0)