-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
type/enhancementAn improvement of existing functionalityAn improvement of existing functionalitytype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Description
- Gitea version (or commit ref): 1.10.1
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. Setting LANDING_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?
Metadata
Metadata
Assignees
Labels
type/enhancementAn improvement of existing functionalityAn improvement of existing functionalitytype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.