From 201866ac12b1ea0a6994635d580dff64b52a844b Mon Sep 17 00:00:00 2001
From: Lucas Gabriel Lima <lgl15@inf.ufpr.br>
Date: Thu, 15 Sep 2016 11:26:24 -0300
Subject: [PATCH] add passport and jwt to app.js

---
 src/libs/app.js | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/libs/app.js b/src/libs/app.js
index 8022c769..b11df38f 100644
--- a/src/libs/app.js
+++ b/src/libs/app.js
@@ -18,6 +18,11 @@ const mongoose = require('./db/mongoose');
 
 const db = mongoose();
 
+const passport = require('passport');
+const jwt = require('jwt-simple');
+
+app.use(passport.initialize());
+
 process.env.NODE_ENV = process.env.NODE_ENV || 'development';
 
 app.use(bodyParser.json());
-- 
GitLab