mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-14 00:44:53 +03:00
Fix missing def
This commit is contained in:
parent
219dc62743
commit
0156d09f50
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user