From: Matías Aguirre Date: Thu, 23 Feb 2012 00:10:02 +0000 (-0200) Subject: Add missing argument. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a871c71586ae38096a654fe075959b749de79dda;p=django-social-auth.git Add missing argument. --- diff --git a/social_auth/views.py b/social_auth/views.py index ab8463a..5561268 100644 --- a/social_auth/views.py +++ b/social_auth/views.py @@ -179,7 +179,8 @@ def complete_process(request, backend, *args, **kwargs): url = new_user_redirect else: url = redirect_value or \ - backend_setting('SOCIAL_AUTH_LOGIN_REDIRECT_URL') or \ + backend_setting(backend, + 'SOCIAL_AUTH_LOGIN_REDIRECT_URL') or \ DEFAULT_REDIRECT else: url = backend_setting(backend, 'SOCIAL_AUTH_INACTIVE_USER_URL',