If a logged out person hits a public page which has thrown an...
If a logged out person hits a public page which has thrown an AccessDeniedException, redirect them to the login page. Real users are only going to try logging in anyway, and non users aren't going to be able to log in, so it's just a usability improvement. It might be worth adding a message to say what's happened later.
Showing with 8 additions and 1 deletion