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:
})
return render_to_response('auth/auth_settings.html', {
+ 'user': user_,
'form': form,
'has_password': user_.has_usable_password(),
'auth_keys': auth_keys_list,