Redirect to LANDING_PAGE when logged in user opens /user/login #2077

Closed
opened 2025-11-02 04:23:28 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @michaelschufi on GitHub (Jul 20, 2018).

  • Gitea version (or commit ref): 3e445cc
  • Git version: 2.15.2
  • Operating system: CentOS Linux release 7.5.1804
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

It would be nice if the LANDING_PAGE redirect also occurs when a user opens "/user/login".
I am not quite sure if this is a duplicate of the resolved issue #2893.

Originally created by @michaelschufi on GitHub (Jul 20, 2018). - Gitea version (or commit ref): 3e445cc - Git version: 2.15.2 - Operating system: CentOS Linux release 7.5.1804 - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description It would be nice if the LANDING_PAGE redirect also occurs when a user opens "/user/login". I am not quite sure if this is a duplicate of the resolved issue #2893.
GiteaMirror added the issue/stale label 2025-11-02 04:23:28 -06:00
Author
Owner

@cleverer commented on GitHub (Jul 20, 2018):

I think ac387f6 might solve it. Since I have no experience with go, please test this.

@cleverer commented on GitHub (Jul 20, 2018): I think ac387f6 might solve it. Since I have no experience with go, please test this.
Author
Owner

@stale[bot] commented on GitHub (Jan 17, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

@stale[bot] commented on GitHub (Jan 17, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
Author
Owner

@lunny commented on GitHub (Jan 17, 2019):

Please feel free to reopen it.

@lunny commented on GitHub (Jan 17, 2019): Please feel free to reopen it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2077