mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 00:02:43 +02:00
Finish delete organization
This commit is contained in:
1 parent
ee9b7f322f
commit
6e448b0714
11 files changed
+116
-27
No files matched your search
@@ -296,7 +296,7 @@ func DeletePost(ctx *middleware.Context) {
|
||||
case models.ErrUserOwnRepos:
|
||||
ctx.Flash.Error("Your account still have ownership of repository, you have to delete or transfer them first.")
|
||||
default:
|
||||
ctx.Handle(500, "user.Delete(DeleteUser)", err)
|
||||
ctx.Handle(500, "user.DeletePost(DeleteUser)", err)
|
||||
return
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user