From 94830a7ed9014fca3b1f29c8c02261aec280fa7c Mon Sep 17 00:00:00 2001 From: hrcerqueira Date: Tue, 2 Mar 2010 16:31:42 -0700 Subject: small fix --- forum/views/auth.py | 3 +++ 1 file changed, 3 insertions(+) mode change 100755 => 100644 forum/views/auth.py diff --git a/forum/views/auth.py b/forum/views/auth.py old mode 100755 new mode 100644 index 6fe184a8..d885440b --- a/forum/views/auth.py +++ b/forum/views/auth.py @@ -107,6 +107,9 @@ def process_provider_signin(request, provider): uassoc.save() request.session['auth_error'] = _("These new credentials are now associated with your account.") return HttpResponseRedirect(reverse('auth_signin')) + else: + if isinstance(assoc_key, (type, User)): + return login_and_forward(request, assoc_key) try: assoc = AuthKeyUserAssociation.objects.get(key=assoc_key) -- cgit v1.2.3-1-g7c22