ActivityPub-federated video streaming platform using P2P directly in your web browser
Don't send 404 when asking video password
Chocobozzz1ea4be03fe65
diff --git a/server/core/lib/html/shared/video-html.ts b/server/core/lib/html/shared/video-html.tsindex 328d55c0e7..de21c7abde 100644--- a/server/core/lib/html/shared/video-html.ts+++ b/server/core/lib/html/shared/video-html.ts@@ -27,6 +27,10 @@ export class VideoHtml {VideoModel.loadWithBlacklist(videoId)])+ if (video?.privacy === VideoPrivacy.PASSWORD_PROTECTED) {+ return html+ }+// Let Angular application handle errorsif (!video || isVideoInPrivateDirectory(video.privacy) || video.VideoBlacklist) {res.status(HttpStatusCode.NOT_FOUND_404)