diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-07-31 17:25:34 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-07-31 17:25:34 -0400 |
commit | 7bbf644dd5eaca77c3e8df57419180486bda0fc2 (patch) | |
tree | 84033fb9507c4657d74b85dccd5f16595f8517a8 /routers/user | |
parent | 3428baa3b57b39f2e010254bffede93e7d3cdf37 (diff) | |
download | gitea-7bbf644dd5eaca77c3e8df57419180486bda0fc2.tar.gz gitea-7bbf644dd5eaca77c3e8df57419180486bda0fc2.zip |
Convert captcha, cache, csrf as middlewares
Diffstat (limited to 'routers/user')
-rw-r--r-- | routers/user/auth.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routers/user/auth.go b/routers/user/auth.go index 163df34a4a..90194e0c46 100644 --- a/routers/user/auth.go +++ b/routers/user/auth.go @@ -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" |