]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/views/auth.py
fix breach in award points that allows user to award infinite points
[osqa.git] / forum / views / auth.py
index 01f62105e167792ca358a1d992808fe31c77f7d1..00b67dc2a7f1553ea7fdac52a1b43833dcb720f5 100644 (file)
@@ -89,7 +89,7 @@ def prepare_provider_signin(request, provider):
 
         try:
             request_url = provider_class.prepare_authentication_request(request,
-                                                                        reverse('auth_provider_done',
+                                                                        reverse('auth_provider_done', prefix='/',
                                                                                 kwargs={'provider': provider}))
 
             return HttpResponseRedirect(request_url)