mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-24 08:14:13 +03:00
fix is_open_for_signup missing param
add a missing param to SocialAccountAdapter.is_open_for_signup
This commit is contained in:
parent
7c4a753b8d
commit
25b0544c2f
|
@ -10,5 +10,5 @@ class AccountAdapter(DefaultAccountAdapter):
|
|||
|
||||
|
||||
class SocialAccountAdapter(DefaultSocialAccountAdapter):
|
||||
def is_open_for_signup(self, request):
|
||||
def is_open_for_signup(self, request, sociallogin):
|
||||
return getattr(settings, 'ACCOUNT_ALLOW_REGISTRATION', True)
|
||||
|
|
Loading…
Reference in New Issue
Block a user