]> source.dussan.org Git - gitea.git/commit
Fix 404 error when remove self from an organization (#26362)
authoryp05327 <576951401@qq.com>
Sat, 12 Aug 2023 07:02:22 +0000 (16:02 +0900)
committerGitHub <noreply@github.com>
Sat, 12 Aug 2023 07:02:22 +0000 (07:02 +0000)
commit9fc68b680feb49071c6c348be7701f1c79f5181d
tree9bfa3796b6585e54d8f9a2f5665b6fc49963527c
parentb937adc54d35b00a9a888052c173b59b7ded8a0f
Fix 404 error when remove self from an organization (#26362)

Same to #24322

Not only `leave` action but also `remove` action should check whether
user still belongs to the org.
routers/web/org/teams.go