flarum / framework

Simple forum software for building great communities.
http://flarum.org/
6.37k stars 835 forks source link

Handle unauthenticated access to Settings page more gracefully #714

Closed dcsjapan closed 8 years ago

dcsjapan commented 8 years ago

Presently, when an unauthenticated user enters the URL for the Settings page ...

https://discuss.flarum.org/settings

... the forum redirects to the following page ...

https://discuss.flarum.org/settings?nojs=1

... and returns "Something went wrong while trying to load the full version of this site."

In this situation, Flarum should really display a "You need to be logged in to access the Settings page" error message, preferably accompanied by a login prompt.

franzliedke commented 8 years ago

This one should return a 404 to be closed, after that #596 will take over.