Revert "Set "redirectTo" in navigator.id.request()"
authorFrancois Marier <francois@debian.org>
Thu, 26 Jul 2012 11:21:42 +0000 (23:21 +1200)
committerFrancois Marier <francois@debian.org>
Thu, 26 Jul 2012 11:21:42 +0000 (23:21 +1200)
commitb6d5919f9aaa31f8ba40deecec64aeafb5189632
tree34cf2f83966c8ce5ecb99befa55c30a54073a85a
parent984e51875b215156b4b85d465bfd0b17ef3c9628
Revert "Set "redirectTo" in navigator.id.request()"

This reverts commit 984e51875b215156b4b85d465bfd0b17ef3c9628.

In our case, going straight to the profile page doesn't work
because the @login_required Python decorator runs before the
onlogin event fires (and sends the login AJAX request) on the
client.

Therefore, setting redirectTo to "/account/profile/" actually
causes an extra unnecessary redirect from /account/profile/ to
/account/login/.
static/js/libravatar.js