Join GitHub today
Use next field to redirect user when login is done by social #4083
When a private page is accessed by a non logged in user, the user is redirected to the login view. If the user uses the traditional login, after this the user will be redirected to the page that was trying to access.
If the user uses the social login, it was redirected to /. This PR fixes that to behaves in the same way than regular login.