diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-12 16:19:16 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-12 16:19:16 -0400 |
commit | d60f7b85e53d0d2fbef9d8e2a8b539f9c0d97233 (patch) | |
tree | 920d2ef7c9ac40f7bcb955a72b8d3b30b88dff1d /web.go | |
parent | 47f3dd43a52d05b1f12921c4e9cc3300a4a49060 (diff) | |
parent | 75d2affcbf9b26c5a989a75a6654d9b6e21415e9 (diff) |
Merge branch 'dev' of github.com:gogits/gogs into dev
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -88,7 +88,7 @@ func runWeb(*cli.Context) { m.Group("/user", func(r martini.Router) { r.Get("/login", user.SignIn) r.Post("/login", bindIgnErr(auth.LogInForm{}), user.SignInPost) - r.Get("/login/github", user.SocialSignIn) + r.Get("/login/:name", user.SocialSignIn) r.Get("/sign_up", user.SignUp) r.Post("/sign_up", bindIgnErr(auth.RegisterForm{}), user.SignUpPost) r.Get("/reset_password", user.ResetPasswd) |