Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Redirect to last page visited is broken #569
The idea behind the "redirect to last page visited" feature is that when a visitor opens a protected page without being logged in, they are redirected to the login page and then back to the page they initially wanted to open. However, the error 401 page does not store the referer, so the redirect cannot work.
The 401 page does not store the referrer, but the login module on that page does. So if the user submits the login information, the