Permalink
Browse files

Fixed bug where FLICKR_AUTH_EXTRA_ARGUMENTS's `perms` configuration i…

…s ignored by the backend.
  • Loading branch information...
tonyxiao committed Jul 9, 2012
1 parent e5ee8ca commit cb5284ff0b18621ee3c57106ee9f498967a8fdd3
Showing with 2 additions and 1 deletion.
  1. +2 −1 social_auth/backends/contrib/flickr.py
@@ -83,7 +83,8 @@ def user_data(self, access_token, *args, **kwargs):
def auth_extra_arguments(self):
params = super(FlickrAuth, self).auth_extra_arguments() or {}
- params['perms'] = 'read'
+ if not 'perms' in params:
+ params['perms'] = 'read'
return params

0 comments on commit cb5284f

Please sign in to comment.