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

* fix & co

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

No files matched your search

+1 -1
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