From f4f892cfec0694e019311621f434198ab93a8927 Mon Sep 17 00:00:00 2001 From: Lucas Gabriel Lima <lgl15@inf.ufpr.br> Date: Tue, 20 Sep 2016 09:28:32 -0300 Subject: [PATCH] small fix --- src/libs/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/app.js b/src/libs/app.js index ffe232b2..5c97ad4e 100644 --- a/src/libs/app.js +++ b/src/libs/app.js @@ -20,7 +20,7 @@ const jwt = require('jwt-simple'); app.use(passport.initialize()); -require('./middlewares/passport'); +require('./middlewares/passport')(passport); // pass passport for configuration app.use(bodyParser.json()); app.use(bodyParser.urlencoded({ extended: false })); -- GitLab