summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorslene <vslene@gmail.com>2014-03-23 15:21:34 +0800
committerslene <vslene@gmail.com>2014-03-23 15:21:34 +0800
commit1c01db4019abc2460ac1743f9675c9effd211e3f (patch)
tree62f53dc380ec1ab2ee41e85874eeffc6d94a6d85 /web.go
parent47493a0191f3de8aa4e80bce1911f14623cfa46a (diff)
downloadgitea-1c01db4019abc2460ac1743f9675c9effd211e3f.tar.gz
gitea-1c01db4019abc2460ac1743f9675c9effd211e3f.zip
minor fix
Diffstat (limited to 'web.go')
-rw-r--r--web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/web.go b/web.go
index bf654aace2..0d31161854 100644
--- a/web.go
+++ b/web.go
@@ -95,7 +95,7 @@ func runWeb(*cli.Context) {
m.Group("/user", func(r martini.Router) {
r.Any("/login", binding.BindIgnErr(auth.LogInForm{}), user.SignIn)
- r.Any("/sign_up", reqSignOut, binding.BindIgnErr(auth.RegisterForm{}), user.SignUp)
+ r.Any("/sign_up", binding.BindIgnErr(auth.RegisterForm{}), user.SignUp)
}, reqSignOut)
m.Group("/user", func(r martini.Router) {
r.Any("/logout", user.SignOut)