summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorskyblue <ssx205@gmail.com>2014-04-05 22:52:24 +0800
committerskyblue <ssx205@gmail.com>2014-04-05 22:52:24 +0800
commitc22d3503fd65ec95fd215b395be059392bf90d87 (patch)
treec0ec2b4cd2bae6ce4f8e02e3dcc14add74658fb8 /web.go
parenta92826a8feee904440d86fd851ac4ecce35520fd (diff)
parentce350a737a63aeb4e2ca5924adf28862a6a6cfb1 (diff)
downloadgitea-c22d3503fd65ec95fd215b395be059392bf90d87.tar.gz
gitea-c22d3503fd65ec95fd215b395be059392bf90d87.zip
add oauth2 table init
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 18e48b84de..153d876464 100644
--- a/web.go
+++ b/web.go
@@ -92,7 +92,7 @@ func runWeb(*cli.Context) {
m.Get("/avatar/:hash", avt.ServeHTTP)
m.Group("/user", func(r martini.Router) {
- // r.Any("/login/github", user.SocialSignIn)
+ r.Any("/login/github", user.SocialSignIn)
r.Any("/login", binding.BindIgnErr(auth.LogInForm{}), user.SignIn)
r.Any("/sign_up", binding.BindIgnErr(auth.RegisterForm{}), user.SignUp)
}, reqSignOut)