mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Finish delete organization
This commit is contained in:
@@ -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