forgejo/web_src/js/features
zeripath 48ef04ee56
Drop the event source if we are unauthorized (#15275)
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 22:37:50 +01:00
..
clipboard.js
codeeditor.js
colorpicker.js
contextpopup.js
dropzone.js
emoji.js
eventsource.sharedworker.js Drop the event source if we are unauthorized (#15275) 2021-04-04 22:37:50 +01:00
gitgraph.js
heatmap.js
imagediff.js
migration.js
notification.js Drop the event source if we are unauthorized (#15275) 2021-04-04 22:37:50 +01:00
projects.js
serviceworker.js
stopwatch.js Drop the event source if we are unauthorized (#15275) 2021-04-04 22:37:50 +01:00
tablesort.js
tribute.js