Commit 87c944c3 authored by Rosanny Sihombing's avatar Rosanny Sihombing
Browse files

update configuration

parent 236e83d9
...@@ -47,7 +47,7 @@ app.use(session( ...@@ -47,7 +47,7 @@ app.use(session(
{ {
resave: true, resave: true,
saveUninitialized: true, saveUninitialized: true,
secret: 'thisisasecret' secret: config.app.sessionSecret
} }
)); ));
app.use(flash()); app.use(flash());
......
...@@ -3,7 +3,8 @@ module.exports = { ...@@ -3,7 +3,8 @@ module.exports = {
app: { app: {
name: 'User Account Management', name: 'User Account Management',
port: process.env.PORT || 9989, port: process.env.PORT || 9989,
host: 'http://localhost:9989' host: 'http://localhost:9989',
sessionSecret: 'thisisasecret'
}, },
passport: { passport: {
strategy: 'saml', strategy: 'saml',
...@@ -40,7 +41,8 @@ module.exports = { ...@@ -40,7 +41,8 @@ module.exports = {
app: { app: {
name: 'User Account Management', name: 'User Account Management',
port: process.env.PORT || 9989, port: process.env.PORT || 9989,
host: 'https://m4lab.hft-stuttgart.de/account' host: 'https://m4lab.hft-stuttgart.de/account',
sessionSecret: 'thisisasecret'
}, },
passport: { passport: {
strategy: 'saml', strategy: 'saml',
......
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