Incorrect redirection when following from Anonymous or non-AJAX request
When I'm not logged in and I want to follow a repository, I'm redirected to a login page:
When I validate the login form, it doesn't redirect to the project's page but does lots of follow/unfollow requests. The behaviour is the same when going to:
as a logged in user.
See the attached picture, I have quite a lot of messages :)