aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/repo/commit.go
diff options
context:
space:
mode:
authorKerwin Bryant <kerwin612@qq.com>2025-06-22 02:48:06 +0800
committerGitHub <noreply@github.com>2025-06-21 18:48:06 +0000
commit0548c10293ddac68444bad261a43024eef48643b (patch)
treeab48b23d9d69dc07ed19556768d9fe19f2a64be3 /routers/web/repo/commit.go
parent7de114a332c713eca9406da6c5a8eb02fe0c6f00 (diff)
downloadgitea-0548c10293ddac68444bad261a43024eef48643b.tar.gz
gitea-0548c10293ddac68444bad261a43024eef48643b.zip
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>
Diffstat (limited to 'routers/web/repo/commit.go')
0 files changed, 0 insertions, 0 deletions