Merge pull request #486 from oryx2/patch-1

fix is_open_for_signup missing param
This commit is contained in:
Fábio C. Barrionuevo da Luz 2016-02-15 22:31:29 -03:00
commit be01daefc8

View File

@ -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)