]> git.openstreetmap.org Git - osqa.git/commitdiff
No more google hits on /accounts/PROVIDER/signin/
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Wed, 12 May 2010 02:27:01 +0000 (02:27 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Wed, 12 May 2010 02:27:01 +0000 (02:27 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@230 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/views/auth.py

index 3d615750e0d085599fdb1d652a10aba0d9301d8e..e3c1e6cc99d44f1826cd346228df2349c564996f 100644 (file)
@@ -85,7 +85,9 @@ def prepare_provider_signin(request, provider):
         except InvalidAuthentication, e:
             request.session['auth_error'] = e.message
 
-        return HttpResponseRedirect(reverse('auth_signin'))    
+        return HttpResponseRedirect(reverse('auth_signin'))
+    else:
+        raise Http404()
 
 
 def process_provider_signin(request, provider):