We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d93069 commit 8dc31edCopy full SHA for 8dc31ed
social_core/backends/apple.py
@@ -142,10 +142,9 @@ def get_user_details(self, response):
142
143
email = response.get('email', '')
144
apple_id = response.get(self.ID_KEY, '')
145
- # prevent updating User with empty strings
146
user_details = {
147
- 'first_name': first_name or None,
148
- 'last_name': last_name or None,
+ 'first_name': first_name,
+ 'last_name': last_name,
149
'email': email,
150
}
151
if email and self.setting('EMAIL_AS_USERNAME'):
0 commit comments