mirror of https://github.com/go-gitea/gitea
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.pull/24329/head^2
parent
f1a4330306
commit
df9a62b5f9
Loading…
Reference in new issue