aboutsummaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-14 01:51:12 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-14 01:51:12 -0400
commit15f8bc417e2b5683e2cd578c9c50f51acfd3daba (patch)
tree0e76575eda02bbbfc095d6620e49659cff56a2bd /web.go
parent56cf05be771977abd9ae2e68dd446092c595981c (diff)
downloadgitea-15f8bc417e2b5683e2cd578c9c50f51acfd3daba.tar.gz
gitea-15f8bc417e2b5683e2cd578c9c50f51acfd3daba.zip
Add log.handle
Diffstat (limited to 'web.go')
-rw-r--r--web.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/web.go b/web.go
index 30e881bba1..1fa19afc17 100644
--- a/web.go
+++ b/web.go
@@ -50,7 +50,6 @@ func runWeb(*cli.Context) {
// Middlewares.
m.Use(render.Renderer(render.Options{Funcs: []template.FuncMap{AppHelpers}}))
m.Use(base.InitContext())
- m.Use(log.ErrHandle())
// TODO: should use other store because cookie store is not secure.
store := sessions.NewCookieStore([]byte("secret123"))