mirror of
https://github.com/go-gitea/gitea.git
synced 2026-11-02 16:21:24 +00:00
remove martini oauth2 depend
This commit is contained in:
1 parent
c72e1b5c2a
commit
8683d2f857
4 files changed
+61
-22
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user