From 5a6c8f549be6a97b6a43281fba7852240d4f6bfa Mon Sep 17 00:00:00 2001 From: Philippe Luickx Date: Mon, 10 Aug 2015 11:24:21 +0300 Subject: [PATCH] bugfix --- rest_auth/registration/serializers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rest_auth/registration/serializers.py b/rest_auth/registration/serializers.py index d77eaac..2500e32 100644 --- a/rest_auth/registration/serializers.py +++ b/rest_auth/registration/serializers.py @@ -72,14 +72,14 @@ class SocialLoginSerializer(serializers.Serializer): code = attrs.get('code') - provider = self.adapter.get_provider() + provider = adapter.get_provider() scope = provider.get_scope(request) client = self.client_class( request, app.client_id, app.secret, - self.adapter.access_token_method, - self.adapter.access_token_url, + adapter.access_token_method, + adapter.access_token_url, self.callback_url, scope )