From b7bf9dfd285a5d64bfcd6a3148c646f03984e594 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 7 Nov 2016 17:55:31 +0100 Subject: more --- routers/org/setting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/org/setting.go') diff --git a/routers/org/setting.go b/routers/org/setting.go index 2169779232..70d5e3e204 100644 --- a/routers/org/setting.go +++ b/routers/org/setting.go @@ -84,7 +84,7 @@ func SettingsPost(ctx *context.Context, form auth.UpdateOrgSettingForm) { } func SettingsAvatar(ctx *context.Context, form auth.AvatarForm) { - form.Source = auth.AVATAR_LOCAL + form.Source = auth.AvatarLocal if err := user.UpdateAvatarSetting(ctx, form, ctx.Org.Organization); err != nil { ctx.Flash.Error(err.Error()) } else { -- cgit v1.2.3