diff options
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go index 07e8517d4d..131c839a13 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -406,6 +406,7 @@ func runWeb(ctx *cli.Context) { m.Group("/settings", func() { m.Combo("").Get(org.Settings). Post(bindIgnErr(auth.UpdateOrgSettingForm{}), org.SettingsPost) + m.Post("/avatar", binding.MultipartForm(auth.UploadAvatarForm{}), org.SettingsAvatar) m.Group("/hooks", func() { m.Get("", org.Webhooks) |