Skip to content

Commit

Permalink
Make oauth_token retrieval optional. Refs #212
Browse files Browse the repository at this point in the history
  • Loading branch information
omab committed Mar 9, 2014
1 parent 11ef865 commit babfd43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion social/backends/facebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def auth_complete(self, *args, **kwargs):

if response is not None:
access_token = response.get('access_token') or \
response['oauth_token'] or \
response.get('oauth_token') or \
self.data.get('access_token')

if access_token is None:
Expand Down

0 comments on commit babfd43

Please sign in to comment.