Option to show login page instead of home page #9597
Labels
type/enhancement
An improvement of existing functionality
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
Description
In my use case, the user must always be logged in to use my gitea instance, there are no public repositories. Therefore I would like to let the user always land on the login page when they are not logged in. When they are logged in, they should be redirected to their home page, as usual.
Currently, the closest I can get there is by setting
LANDING_PAGE = explore
– this redirects unauthenticated users to the login page, but authenticated users are of course redirected to the explore page. SettingLANDING_PAGE = home
shows the Gitea start page instead of the login page to unauthenticated users.Am I missing a setting or is it not implemented?
The text was updated successfully, but these errors were encountered: