mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-04-29 08:24:43 +00:00
Merge pull request #486 from oryx2/patch-1
fix is_open_for_signup missing param
This commit is contained in:
commit
be01daefc8
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue