diff options
author | skyblue <ssx205@gmail.com> | 2014-04-10 00:07:57 +0800 |
---|---|---|
committer | skyblue <ssx205@gmail.com> | 2014-04-10 00:07:57 +0800 |
commit | 8683d2f8570fedad694d0610074296a1452d3942 (patch) | |
tree | 200d29e578d84bd441114a3efa1317dbea7923fc /web.go | |
parent | c72e1b5c2ac8d2cbd123f3f53db7b4a125045725 (diff) | |
download | gitea-8683d2f8570fedad694d0610074296a1452d3942.tar.gz gitea-8683d2f8570fedad694d0610074296a1452d3942.zip |
remove martini oauth2 depend
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ func runWeb(*cli.Context) { m.Group("/user", func(r martini.Router) { r.Any("/login", binding.BindIgnErr(auth.LogInForm{}), user.SignIn) - r.Any("/login/github", oauth2.LoginRequired, user.SocialSignIn) + r.Any("/login/github", user.SocialSignIn) r.Any("/sign_up", binding.BindIgnErr(auth.RegisterForm{}), user.SignUp) r.Any("/forget_password", user.ForgotPasswd) r.Any("/reset_password", user.ResetPasswd) |