aboutsummaryrefslogtreecommitdiff
path: root/web.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-12 16:19:16 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-12 16:19:16 -0400
commitd60f7b85e53d0d2fbef9d8e2a8b539f9c0d97233 (patch)
tree920d2ef7c9ac40f7bcb955a72b8d3b30b88dff1d /web.go
parent47f3dd43a52d05b1f12921c4e9cc3300a4a49060 (diff)
parent75d2affcbf9b26c5a989a75a6654d9b6e21415e9 (diff)
Merge branch 'dev' of github.com:gogits/gogs into dev
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 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)