summaryrefslogtreecommitdiffstats
path: root/routers/org
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-02-03 17:46:33 +0100
committerGitHub <noreply@github.com>2020-02-03 18:46:33 +0200
commitea50f60df231ba75c32d03118e0c8af17c325324 (patch)
tree4dffef4d291ce6090e12d441a264860ab24cbbe2 /routers/org
parent29151b90c62d4f997a5503c3e0d42468f404a73c (diff)
downloadgitea-ea50f60df231ba75c32d03118e0c8af17c325324.tar.gz
gitea-ea50f60df231ba75c32d03118e0c8af17c325324.zip
Prevent DeleteUser API abuse (#10125)
* fix & co * word suggestions from @jolheiser
Diffstat (limited to 'routers/org')
-rw-r--r--routers/org/setting.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/org/setting.go b/routers/org/setting.go
index df5ff24c0e..3b6e124587 100644
--- a/routers/org/setting.go
+++ b/routers/org/setting.go
@@ -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