diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-18 21:14:35 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-18 21:14:35 -0400 |
commit | bda8fdc5f4da70e3d2bc032663a2188aa93d8c9c (patch) | |
tree | 871f74f6b4e320ad199626bc2fdd0446d46c7030 /web.go | |
parent | aa58320a1bc0f90387a936ad2d61a7fa1e6ac92b (diff) | |
download | gitea-bda8fdc5f4da70e3d2bc032663a2188aa93d8c9c.tar.gz gitea-bda8fdc5f4da70e3d2bc032663a2188aa93d8c9c.zip |
fix bug when logout without activate
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -92,7 +92,6 @@ func runWeb(*cli.Context) { r.Post("/reset_password", user.ResetPasswdPost) }, reqSignOut) m.Group("/user", func(r martini.Router) { - r.Get("/logout", user.SignOut) r.Get("/delete", user.Delete) r.Post("/delete", user.DeletePost) r.Get("/setting", user.Setting) @@ -104,6 +103,7 @@ func runWeb(*cli.Context) { r.Get("/email2user", user.Email2User) r.Get("/forget_password", user.ForgotPasswd) r.Post("/forget_password", user.ForgotPasswdPost) + r.Get("/logout", user.SignOut) }) m.Group("/user/setting", func(r martini.Router) { r.Get("/social", user.SettingSocial) |