gitea/routers
Kerwin Bryant 0548c10293
Add post-installation redirect based on admin account status (#34493)
This PR adds a feature to direct users to appropriate pages after system
installation:
- If no admin credentials were provided during installation, redirect to
the registration page with a prominent notice about creating the first
administrative account
- If admin credentials were already set, redirect directly to the login
page


![4d396ad132d9b57fc4f45a62117177f1](https://github.com/user-attachments/assets/3a5d8700-9194-4d3b-a862-e64c8c347932)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-06-21 18:48:06 +00:00
..
api Refactor editor (#34780) 2025-06-21 19:20:51 +08:00
common Fix footnote jump behavior on the issue page. (#34621) 2025-06-09 17:18:11 +00:00
install Add post-installation redirect based on admin account status (#34493) 2025-06-21 18:48:06 +00:00
private Upgrade `gopls` to v0.19.0, add `make fix` (#34772) 2025-06-18 19:30:40 +00:00
utils Refactor older tests to use testify (#33140) 2025-01-09 09:21:47 +08:00
web Add post-installation redirect based on admin account status (#34493) 2025-06-21 18:48:06 +00:00
init.go Prepare for support performance trace (#33286) 2025-01-15 20:05:18 +00:00