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. |
||
|---|---|---|
| .. | ||
| 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 | ||