From 2ce0c3befef3becd48660e600ef70e8affd5bc7c Mon Sep 17 00:00:00 2001 From: skyblue Date: Sat, 12 Apr 2014 23:19:17 +0800 Subject: add google oauth2 support --- web.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web.go') diff --git a/web.go b/web.go index 13af425b..de8e7250 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) -- cgit v1.2.3