Skip to content

Commit

Permalink
Fix values check in extra_data
Browse files Browse the repository at this point in the history
  • Loading branch information
igorgaming authored and nijel committed Mar 7, 2024
1 parent dbc880c commit 51359ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion social_core/backends/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def extra_data(self, user, uid, response, details=None, *args, **kwargs):
elif size == 1:
name = alias = entry[0]
discard = False
value = response.get(name) or details.get(name) or details.get(alias)
value = response.get(name, details.get(name, details.get(alias)))
if discard and not value:
continue
data[alias] = value
Expand Down

0 comments on commit 51359ba

Please sign in to comment.