Skip to content

Commit

Permalink
chore: secure cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
rosendolu committed Apr 14, 2024
1 parent 4cc890c commit 3fcce5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/common/constant.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ module.exports = {
signed: true /** (boolean) signed or not (default true) */,
rolling: true /** (boolean) Force a session identifier cookie to be set on every response. The expiration is reset to the original maxAge, resetting the expiration countdown. (default is false) */,
renew: true /** (boolean) renew session when session is nearly expired, so we can always keep user logged in. (default is false)*/,
secure: false /** (boolean) secure cookie*/,
secure: this.isProdEnv ? true : false /** (boolean) secure cookie*/,
},
};

0 comments on commit 3fcce5c

Please sign in to comment.