aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/v1/remote.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-10-01 09:09:07 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-10-01 09:09:07 +0200
commit0eb78d530376c43d228e3e071e032fe9849149ed (patch)
treee4a81e9de1267e8e316cfe27de65f4cb450ae8b7 /server/controllers/api/v1/remote.js
parentc60f2212fd326c323dc2d145ba64080612b655d3 (diff)
downloadPeerTube-0eb78d530376c43d228e3e071e032fe9849149ed.tar.gz
PeerTube-0eb78d530376c43d228e3e071e032fe9849149ed.tar.zst
PeerTube-0eb78d530376c43d228e3e071e032fe9849149ed.zip
Server: do not forget to check the signature when another pod wants to
quit us
Diffstat (limited to 'server/controllers/api/v1/remote.js')
-rw-r--r--server/controllers/api/v1/remote.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/controllers/api/v1/remote.js b/server/controllers/api/v1/remote.js
index f452986b8..a22c5d151 100644
--- a/server/controllers/api/v1/remote.js
+++ b/server/controllers/api/v1/remote.js
@@ -16,6 +16,7 @@ const Video = mongoose.model('Video')
16router.post('/videos', 16router.post('/videos',
17 validators.signature, 17 validators.signature,
18 validators.dataToDecrypt, 18 validators.dataToDecrypt,
19 secureMiddleware.checkSignature,
19 secureMiddleware.decryptBody, 20 secureMiddleware.decryptBody,
20 validators.remoteVideos, 21 validators.remoteVideos,
21 remoteVideos 22 remoteVideos