1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-21 08:31:27 -05:00
forgejo/routers
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
..
api Add API for License templates (#23009) 2023-04-26 02:08:28 -04:00
common Update go tool dependencies, restructure lint targets (#24239) 2023-04-22 14:53:00 -04:00
install Refactor web route (#24080) 2023-04-20 14:49:06 -04:00
private Refactor web route (#24080) 2023-04-20 14:49:06 -04:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Fix 404 error when leaving the last private org team (#24322) 2023-04-26 12:27:46 -04:00
init.go Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00