1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Page: /org/:orgname/settings

This commit is contained in:
Unknwon
2014-08-14 14:12:21 +08:00
parent 2935ee440c
commit 5acc948562
19 changed files with 393 additions and 184 deletions

View File

@@ -252,16 +252,14 @@ func SettingsDelete(ctx *middleware.Context) {
case models.ErrUserOwnRepos:
ctx.Flash.Error(ctx.Tr("form.still_own_repo"))
ctx.Redirect("/user/settings/delete")
return
default:
ctx.Handle(500, "DeleteUser", err)
return
}
} else {
log.Trace("Account deleted: %s", ctx.User.Name)
ctx.Redirect("/")
return
}
return
}
ctx.HTML(200, SETTINGS_DELETE)