mirror of
https://gitee.com/gitea/gitea
synced 2025-11-14 21:40:26 +08: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