Convert captcha, cache, csrf as middlewares

This commit is contained in:
Unknwon committed 2014-07-31 17:25:34 -04:00
1 parent 3428baa3b5
commit 7bbf644dd5
17 files changed
+46 -1122

No files matched your search

+2 -1
View File
@@ -8,10 +8,11 @@ import (
"net/url"
"strings"
"github.com/macaron-contrib/captcha"
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/modules/auth"
"github.com/gogits/gogs/modules/base"
"github.com/gogits/gogs/modules/captcha"
"github.com/gogits/gogs/modules/log"
// "github.com/gogits/gogs/modules/mailer"
"github.com/gogits/gogs/modules/middleware"