mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-11 04:07:48 +03:00
Merge pull request #486 from oryx2/patch-1
fix is_open_for_signup missing param
This commit is contained in:
commit
be01daefc8
|
@ -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