mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-23 19:47:07 +09:00
Handle unauthorized user events gracefully (#15071)
This commit is contained in:
1 parent
78e8f62706
commit
2f0eb9fd5d
2 files changed
+12
-1
No files matched your search
@@ -400,7 +400,7 @@ func RegisterRoutes(m *web.Route) {
|
||||
})
|
||||
}, reqSignOut)
|
||||
|
||||
m.Any("/user/events", reqSignIn, events.Events)
|
||||
m.Any("/user/events", events.Events)
|
||||
|
||||
m.Group("/login/oauth", func() {
|
||||
m.Get("/authorize", bindIgnErr(auth.AuthorizationForm{}), user.AuthorizeOAuth)
|
||||
|
||||
Reference in new issue
Block a user