I understood what the key was

This commit is contained in:
Thomas FORGIONE 2015-05-19 11:56:47 +02:00
parent df04a1bbfb
commit f2c1d2bc6d
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ app.set('trust proxy', 1);
app.use(cookieParser(secret.secret)); app.use(cookieParser(secret.secret));
app.use(session({ app.use(session({
keys: ['key1', 'key2'] keys: [secret.secret]
})); }));
app.use(bodyParser.text()); app.use(bodyParser.text());