aboutsummaryrefslogtreecommitdiffstats
path: root/go.sum
diff options
context:
space:
mode:
authoryp05327 <576951401@qq.com>2023-04-27 01:27:46 +0900
committerGitHub <noreply@github.com>2023-04-26 12:27:46 -0400
commitdf9a62b5f9fdfd4f8719761c52d09533288a3b3a (patch)
tree816ab316e2beda3f36a81749c9a8d679b8f57fb8 /go.sum
parentf1a4330306a21a1b53aaa744ec5749a52135c807 (diff)
downloadgitea-df9a62b5f9fdfd4f8719761c52d09533288a3b3a.tar.gz
gitea-df9a62b5f9fdfd4f8719761c52d09533288a3b3a.zip
Fix 404 error when leaving the last private org team (#24322)
If the user only belongs to one org team and the org is private, leaving the org team will redirect to `ctx.Org.OrgLink + "/teams/"` which is inaccessible. So we need to check whether the user still belongs to the org.
Diffstat (limited to 'go.sum')
0 files changed, 0 insertions, 0 deletions