diff options
author | skyblue <ssx205@gmail.com> | 2014-04-05 22:52:24 +0800 |
---|---|---|
committer | skyblue <ssx205@gmail.com> | 2014-04-05 22:52:24 +0800 |
commit | c22d3503fd65ec95fd215b395be059392bf90d87 (patch) | |
tree | c0ec2b4cd2bae6ce4f8e02e3dcc14add74658fb8 /web.go | |
parent | a92826a8feee904440d86fd851ac4ecce35520fd (diff) | |
parent | ce350a737a63aeb4e2ca5924adf28862a6a6cfb1 (diff) | |
download | gitea-c22d3503fd65ec95fd215b395be059392bf90d87.tar.gz gitea-c22d3503fd65ec95fd215b395be059392bf90d87.zip |
add oauth2 table init
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |