]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/views/auth.py
fixed minor typo in english translation of the logout page.
[osqa.git] / forum / views / auth.py
index 55e7361bb529704fd55dd77f4e07d3709702cf70..23059e2f7a11fda1f919047d5d732225bc6d6e94 100644 (file)
@@ -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:
@@ -304,6 +304,7 @@ def auth_settings(request, id):
         })
 
     return render_to_response('auth/auth_settings.html', {
+        'user': user_,
         'form': form,
         'has_password': user_.has_usable_password(),
         'auth_keys': auth_keys_list,