From: hernani Date: Fri, 14 May 2010 15:25:15 +0000 (+0000) Subject: Forward for auth settings still using the old url style. X-Git-Tag: live~857 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/731bd8d097522b5380d52a1ff452290e8ffac78c Forward for auth settings still using the old url style. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@273 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- diff --git a/forum/views/auth.py b/forum/views/auth.py index 55e7361..62218e8 100644 --- a/forum/views/auth.py +++ b/forum/views/auth.py @@ -117,7 +117,7 @@ def process_provider_signin(request, provider): uassoc = AuthKeyUserAssociation(user=request.user, key=assoc_key, provider=provider) uassoc.save() request.user.message_set.create(message=_('The new credentials are now associated with your account')) - return HttpResponseRedirect(reverse('user_authsettings')) + return HttpResponseRedirect(reverse('user_authsettings', args=[request.user.id])) return HttpResponseRedirect(reverse('auth_signin')) else: