summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorskyblue <ssx205@gmail.com>2014-04-12 23:19:17 +0800
committerskyblue <ssx205@gmail.com>2014-04-12 23:19:17 +0800
commit2ce0c3befef3becd48660e600ef70e8affd5bc7c (patch)
tree7d50fb40cec6fc255acac7b0dbfa238d59b389bf /web.go
parent5d30bfc8baa1f012e6ac52b450915250be080815 (diff)
downloadgitea-2ce0c3befef3becd48660e600ef70e8affd5bc7c.tar.gz
gitea-2ce0c3befef3becd48660e600ef70e8affd5bc7c.zip
add google oauth2 support
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 13af425b93..de8e72505f 100644
--- a/web.go
+++ b/web.go
@@ -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)