aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/admin/diagnosis.go
diff options
context:
space:
mode:
authorHenrique CorrĂȘa <75134774+HeCorr@users.noreply.github.com>2025-02-04 02:21:23 -0300
committerGitHub <noreply@github.com>2025-02-04 13:21:23 +0800
commitd0f4e92563e3486f87c2758c76bd774bdbc63738 (patch)
tree6a5b12e1a5e696a3ee26196dca32685c8167ef7a /routers/web/admin/diagnosis.go
parenta4676db7dd654705214b2568c2def8c8bcfb9777 (diff)
downloadgitea-main.tar.gz
gitea-main.zip
Reject star-related requests if stars are disabled (#33208)HEADmain
This PR fixes #33205. If stars are disabled: * The `.../repo/stars` page returns a 403 Forbidden error * Star-related API endpoints return a 403 Forbidden error saying `Stars are disabled.` * Same for action endpoints --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'routers/web/admin/diagnosis.go')
0 files changed, 0 insertions, 0 deletions