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 Add missing badges in user profile for /projects and /packages (#24232) 2023-04-22 21:32:40 -04:00
org.go
org_labels.go
org_runners.go
projects.go
projects_test.go
setting.go
setting_oauth2.go
setting_packages.go
setting_secrets.go Only delete secrets belonging to its owner (#24284) 2023-04-23 21:35:14 +08:00
teams.go Fix 404 error when leaving the last private org team (#24322) 2023-04-26 12:27:46 -04:00