From a988e6dd052b110525b90f4e8fb5a901fa24b90d Mon Sep 17 00:00:00 2001 From: wgwang Date: Wed, 5 Nov 2014 13:21:59 +0800 Subject: [PATCH] add kwargs to user_authenticate, fix for multiple auth backends --- django_facebook/auth_backends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_facebook/auth_backends.py b/django_facebook/auth_backends.py index 3521aedc..1b731451 100644 --- a/django_facebook/auth_backends.py +++ b/django_facebook/auth_backends.py @@ -40,7 +40,7 @@ def authenticate(self, facebook_id=None, facebook_email=None): user = self.profile_authenticate(facebook_id, facebook_email) return user - def user_authenticate(self, facebook_id=None, facebook_email=None): + def user_authenticate(self, facebook_id=None, facebook_email=None, **kwargs): ''' Authenticate the facebook user by id OR facebook_email We filter using an OR to allow existing members to connect with