From a871c71586ae38096a654fe075959b749de79dda Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Aguirre?= Date: Wed, 22 Feb 2012 22:10:02 -0200 Subject: [PATCH] Add missing argument. --- social_auth/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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', -- 2.39.5