Commit 7de939b4 authored by D’jalmar Gutierrez Titirico's avatar D’jalmar Gutierrez Titirico 🚲

Des habilitando manejo de jwt

parent 671ef0bc
......@@ -35,17 +35,18 @@ export default function(app) {
// Persist sessions with mongoStore / sequelizeStore
// We need to enable sessions for passport-twitter because it's an
// oauth 1.0 strategy, and Lusca depends on sessions
app.use(session({
/*app.use(session({
secret: config.secrets.session,
saveUninitialized: true,
resave: false,
store: new Store(sqldb.sequelize)
}));
*/
/**
* Lusca - express server security
* https://github.com/krakenjs/lusca
*/
/*
if ('test' !== env) {
app.use(lusca({
csrf: {
......@@ -59,7 +60,7 @@ export default function(app) {
},
xssProtection: true
}));
}
}*/
app.set('appPath', path.join(config.root, 'client'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment