summaryrefslogtreecommitdiffstats
path: root/routers/admin/admin.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-01 21:30:04 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-01 21:30:04 -0400
commite7d8fadb083451c632af43de862eab88adb5b29a (patch)
tree25e4b39d2c43edcd3aa0b2686c4fede2264c236a /routers/admin/admin.go
parent3bd5fc6d6f5e1a04acf93929808f982417031e2e (diff)
downloadgitea-e7d8fadb083451c632af43de862eab88adb5b29a.tar.gz
gitea-e7d8fadb083451c632af43de862eab88adb5b29a.zip
Add disable gravatar option
Diffstat (limited to 'routers/admin/admin.go')
-rw-r--r--routers/admin/admin.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go
index 14128c8c2b..2d5bdaff27 100644
--- a/routers/admin/admin.go
+++ b/routers/admin/admin.go
@@ -169,6 +169,7 @@ func Config(ctx *middleware.Context) {
ctx.Data["SessionConfig"] = base.SessionConfig
ctx.Data["PictureService"] = base.PictureService
+ ctx.Data["DisableGravatar"] = base.DisableGravatar
ctx.Data["LogMode"] = base.LogMode
ctx.Data["LogConfig"] = base.LogConfig