diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-06 11:42:14 -0500 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-06 11:42:14 -0500 |
commit | 56a7ab4da5d36e9311311c826c772bade7d031f0 (patch) | |
tree | fd329c1c5e31f7e40e4ac0c9893a9b370d4935d3 /web.go | |
parent | d8b92b4bc99d642c7fd9a6080bdfa8d782e8c325 (diff) | |
download | gitea-56a7ab4da5d36e9311311c826c772bade7d031f0.tar.gz gitea-56a7ab4da5d36e9311311c826c772bade7d031f0.zip |
Finish log in user
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -58,8 +58,7 @@ func runWeb(*cli.Context) { // Routers. m.Get("/", routers.Home) - m.Any("/user/login", user.SignIn) - + m.Any("/user/login", binding.BindIgnErr(auth.LogInForm{}), user.SignIn) m.Any("/user/sign_up", binding.BindIgnErr(auth.RegisterForm{}), user.SignUp) m.Get("/user/profile", user.Profile) // should be /username |