Fix missing def

This commit is contained in:
Andrew Chen Wang 2022-12-27 20:39:57 -05:00 committed by GitHub
parent 219dc62743
commit 0156d09f50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ class SocialAccountAdapter(DefaultSocialAccountAdapter):
def is_open_for_signup(self, request: HttpRequest, sociallogin: Any):
return getattr(settings, "ACCOUNT_ALLOW_REGISTRATION", True)
def populate_user(self, request, sociallogin, data):
def populate_user(self, request, sociallogin, data):
"""
Populates user information from social provider info
See: https://django-allauth.readthedocs.io/en/latest/advanced.html?highlight=populate_user#creating-and-populating-user-instances