Closed venantius closed 9 years ago
There's a distinction here; if the user is logged in and tries to access the wrong thing they should go to the 401 page. If they're not logged in they should go to the login page with a follow-up redirection to the page they were trying to go to.
At the moment trying to access certain web pages when you're not logged in just 401s, instead of, say, redirecting you to a 401 page. We should change this.