Merge branch 'dev' of github.com:gogits/gogs into dev
This commit is contained in:
commit
cd5b800a21
4 changed files with 45 additions and 11 deletions
2
web.go
2
web.go
|
@ -88,7 +88,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)
|
||||
r.Any("/forget_password", user.ForgotPasswd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue