diff options
author | skyblue <ssx205@gmail.com> | 2014-04-12 23:19:17 +0800 |
---|---|---|
committer | skyblue <ssx205@gmail.com> | 2014-04-12 23:19:17 +0800 |
commit | 2ce0c3befef3becd48660e600ef70e8affd5bc7c (patch) | |
tree | 7d50fb40cec6fc255acac7b0dbfa238d59b389bf /web.go | |
parent | 5d30bfc8baa1f012e6ac52b450915250be080815 (diff) | |
download | gitea-2ce0c3befef3becd48660e600ef70e8affd5bc7c.tar.gz gitea-2ce0c3befef3becd48660e600ef70e8affd5bc7c.zip |
add google oauth2 support
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) |