mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-10 08:02:26 +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):
|
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)
|
return getattr(settings, 'ACCOUNT_ALLOW_REGISTRATION', True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user