Skip to content

Commit

Permalink
Speed up performance by removing data encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
BenSurgisonGDS committed Jan 5, 2023
1 parent 4a59c9f commit 54e6998
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,6 @@ function getSessionMiddleware () {
fileStoreOptions.logFn = sessionFileStoreQuietLogFn
}

if (config.isProduction) {
fileStoreOptions.secret = sessionName
}

return session(Object.assign(sessionOptions, {
name: sessionName,
resave: false,
Expand Down

0 comments on commit 54e6998

Please sign in to comment.