summaryrefslogtreecommitdiffstats
path: root/routers/admin/admin.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-07-31 17:25:34 -0400
committerUnknwon <joe2010xtmf@163.com>2014-07-31 17:25:34 -0400
commit7bbf644dd5eaca77c3e8df57419180486bda0fc2 (patch)
tree84033fb9507c4657d74b85dccd5f16595f8517a8 /routers/admin/admin.go
parent3428baa3b57b39f2e010254bffede93e7d3cdf37 (diff)
downloadgitea-7bbf644dd5eaca77c3e8df57419180486bda0fc2.tar.gz
gitea-7bbf644dd5eaca77c3e8df57419180486bda0fc2.zip
Convert captcha, cache, csrf as middlewares
Diffstat (limited to 'routers/admin/admin.go')
-rw-r--r--routers/admin/admin.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go
index efdc803b95..4091cb8999 100644
--- a/routers/admin/admin.go
+++ b/routers/admin/admin.go
@@ -263,7 +263,8 @@ func Config(ctx *middleware.Context) {
}
ctx.Data["CacheAdapter"] = setting.CacheAdapter
- ctx.Data["CacheConfig"] = setting.CacheConfig
+ ctx.Data["CacheInternal"] = setting.CacheInternal
+ ctx.Data["CacheConn"] = setting.CacheConn
ctx.Data["SessionProvider"] = setting.SessionProvider
ctx.Data["SessionConfig"] = setting.SessionConfig