aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-13 16:31:14 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-13 16:31:14 +0200
commitb3b926474204ad736ec434aafc8afc6bc55079f6 (patch)
treeba235886357a8c032fea7ef17cd9ab9519ea6a2b /server/middlewares
parent5dda52c924763a889e98b4cf97c588b34ef01812 (diff)
downloadPeerTube-b3b926474204ad736ec434aafc8afc6bc55079f6.tar.gz
PeerTube-b3b926474204ad736ec434aafc8afc6bc55079f6.tar.zst
PeerTube-b3b926474204ad736ec434aafc8afc6bc55079f6.zip
Authenticate before make/quit friends (server + tests)
Diffstat (limited to 'server/middlewares')
-rw-r--r--server/middlewares/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/middlewares/index.js b/server/middlewares/index.js
index a0b07705d..ffd19337c 100644
--- a/server/middlewares/index.js
+++ b/server/middlewares/index.js
@@ -1,9 +1,11 @@
1'use strict' 1'use strict'
2 2
3const oauth2 = require('./oauth2')
3const reqValidatorsMiddleware = require('./reqValidators') 4const reqValidatorsMiddleware = require('./reqValidators')
4const secureMiddleware = require('./secure') 5const secureMiddleware = require('./secure')
5 6
6const middlewares = { 7const middlewares = {
8 oauth2: oauth2,
7 reqValidators: reqValidatorsMiddleware, 9 reqValidators: reqValidatorsMiddleware,
8 secure: secureMiddleware 10 secure: secureMiddleware
9} 11}