forgejo/routers/web/org
yp05327 df9a62b5f9
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.
2023-04-26 12:27:46 -04:00
..
home.go
main_test.go
members.go
org.go
org_labels.go
org_runners.go
projects.go
projects_test.go
setting.go
setting_oauth2.go
setting_packages.go
setting_secrets.go
teams.go Fix 404 error when leaving the last private org team (#24322) 2023-04-26 12:27:46 -04:00