Commit b964d60e authored by Rosanny Sihombing's avatar Rosanny Sihombing
Browse files

Merge branch 'MLAB-523' into 'testing'

Mlab 523

See merge request !88
parents 236e83d9 39573922
Pipeline #4013 passed with stage
in 11 seconds
......@@ -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',
......
This diff is collapsed.
......@@ -42,12 +42,13 @@
"mysql": "^2.17.1",
"mysql2": "^2.2.5",
"nodemailer": "^6.3.1",
"nodemon": "^2.0.1",
"passport": "0.3.2",
"passport-saml": "^2.1.0",
"pug": "^3.0.2"
},
"devDependencies": {},
"devDependencies": {
"nodemon": "^2.0.1"
},
"engines": {
"node": ">= 4.0.0"
},
......
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