1
0
mirror of https://github.com/go-gitea/gitea synced 2025-01-09 16:05:57 +01:00
gitea/routers/events
zeripath 3803b15d76
Drop the event source if we are unauthorized () ()
Backport 

A previous commit that sent unauthorized if the user is unauthorized
simply leads to the repeated reopening of the eventsource. #

This PR changes the event returned to tell the client to close the
eventsource and thus prevents the repeated reopening.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-04-04 20:39:22 -04:00
..
events.go Drop the event source if we are unauthorized () () 2021-04-04 20:39:22 -04:00