]> git.openstreetmap.org Git - osqa.git/commitdiff
A bug in the after registration redirection.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Fri, 4 Jun 2010 21:10:31 +0000 (21:10 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Fri, 4 Jun 2010 21:10:31 +0000 (21:10 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@377 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/views/auth.py

index 7a433499e6e6b5b8c8d3ac5a935adb40ebb4aa8b..1230cf7f90408288037ff5ca5aec992443ad3b7b 100644 (file)
@@ -169,7 +169,7 @@ def external_register(request):
             del request.session['assoc_key']
             del request.session['auth_provider']
 
             del request.session['assoc_key']
             del request.session['auth_provider']
 
-            return login_and_forward(request, user_, _("A welcome email has been sent to your email address. "))
+            return login_and_forward(request, user_, message=_("A welcome email has been sent to your email address. "))
     else:
         provider_class = AUTH_PROVIDERS[request.session['auth_provider']].consumer
         user_data = provider_class.get_user_data(request.session['assoc_key'])
     else:
         provider_class = AUTH_PROVIDERS[request.session['auth_provider']].consumer
         user_data = provider_class.get_user_data(request.session['assoc_key'])