Commit da0c4f65 authored by Virgílio N Santos's avatar Virgílio N Santos
Browse files

social plugins: fix adapter parent call

parent 45dc14d7
......@@ -4,7 +4,7 @@ from allauth.socialaccount.adapter import DefaultSocialAccountAdapter
class SocialAccountAdapter(DefaultSocialAccountAdapter):
def populate_user(self, request, sociallogin, data):
user = super().populate_user(request, sociallogin, data)
user = super(SocialAccountAdapter, self).populate_user(request, sociallogin, data)
# FIXME: Is it possible to import more info from a Social Account (Facebook)?
user.name = data.get('name')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment