summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorskyblue <ssx205@gmail.com>2014-04-10 00:07:57 +0800
committerskyblue <ssx205@gmail.com>2014-04-10 00:07:57 +0800
commit8683d2f8570fedad694d0610074296a1452d3942 (patch)
tree200d29e578d84bd441114a3efa1317dbea7923fc /web.go
parentc72e1b5c2ac8d2cbd123f3f53db7b4a125045725 (diff)
downloadgitea-8683d2f8570fedad694d0610074296a1452d3942.tar.gz
gitea-8683d2f8570fedad694d0610074296a1452d3942.zip
remove martini oauth2 depend
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 7ebdb6b631..5dae84b64c 100644
--- a/web.go
+++ b/web.go
@@ -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)