mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-22 00:24:08 +09:00
Handle unauthorized user events gracefully (#15071)
This commit is contained in:
@ -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