'We specifically enable social accounts as a way to signup
because the default adapter uses the account adpater above
as the default.'

def is_open_for_signup(self, request, sociallogin):

    allowed = True
    if flag_is_active(request, 'registration_disabled'):
        allowed = False
    if (not allowed):
        for key in ('socialaccount_sociallogin', 'sociallogin_provider'):
            try:
                del request.session[key]
            except KeyError:
                pass
    return allowed
