1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-26 03:18:28 +00:00

Prevent DeleteUser API abuse (#10125) (#10128)

* fix & co

* word suggestions from @jolheiser
This commit is contained in:
6543
2020-02-03 18:44:06 +01:00
committed by GitHub
parent 6896dad675
commit 0129e76ef5
2 changed files with 7 additions and 1 deletions

View File

@@ -115,7 +115,7 @@ func SettingsDeleteAvatar(ctx *context.Context) {
ctx.Redirect(ctx.Org.OrgLink + "/settings")
}
// SettingsDelete response for delete repository
// SettingsDelete response for deleting an organization
func SettingsDelete(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("org.settings")
ctx.Data["PageIsSettingsDelete"] = true