"Popular" and "Recent" should not show on error page if login required to view content


(Jan Philip Gehrcke) #1

I want to have a “secret” forum that should not leak any kind of content to the outside. I thought that I achieve this by simply setting it to require login for viewing content. However, with that setting enabled, the “The page you requested doesn’t exist or is private.” error page lists the Recent and Popular things, leaking at least thread titles. I know that this might be controversial, but I consider this a bug.


(Nick Fulcher) #2

This is most like related to the other issue you and I are having here Login broken in latest revision and here Problem with the login required setting.

On my working forum that requires login, you get a blank page that directs the users to sign on.


(Régis Hanol) #3

@jgehrcke & @LVNick thanks for reporting that, I just pushed a fix

https://github.com/discourse/discourse/commit/3d6e2713d167d9d47e1b377e935e04ebe62a800b


(Régis Hanol) #4

This topic was automatically closed after 12 hours. New replies are no longer allowed.