following button redirect when not logged in

Issue #1840 resolved
Christopher Lee-Messer
created an issue

Hi was at and tried to follow the repo by clicking on "follow" this brought me to the login page --logged in ok with credentials--- then redirect back to follow never terminated (firefox gave error page that redirect would never complete)

When I went to the login page first I noticed that I had "unfollowed" the repo multiple times.

After logining first from the front page and return to the repo, I was able to follow normally

Thanks for bitbucket -Chris ubuntu 8.04 firefox 3.6.3