Skip to content

Commit

Permalink
fix: Login broken in production (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienjoly committed Feb 8, 2021
1 parent 6df09f3 commit f4cb5e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function start() {
}),
cookie: {
maxAge: 365 * 24 * 60 * 60 * 1000, // cookies expire in 1 year (provided in milliseconds)
secure: process.appParams.urlPrefix.startsWith('https://'), // if true, cookie will be accessible only when website if opened over HTTPS
// secure: process.appParams.urlPrefix.startsWith('https://'), // if true, cookie will be accessible only when website if opened over HTTPS
// sameSite: 'strict',
},
name: 'whydSid',
Expand Down

0 comments on commit f4cb5e0

Please sign in to comment.