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

update configuration

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