Skip to content

Commit

Permalink
Use session-file-store for session store.
Browse files Browse the repository at this point in the history
- Fixes #350
- Change cookie name and set maxAge to 24h
- Updated lock
  • Loading branch information
exsilium committed Jul 10, 2023
1 parent b89a1de commit b5a79a9
Show file tree
Hide file tree
Showing 4 changed files with 258 additions and 147 deletions.
4 changes: 2 additions & 2 deletions configs/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,14 +173,14 @@ var config = [
},
{
packagePath: "./connect.session",
name: "cloud9.sid." + port,
name: "pylon.sid." + port,
secret: "v1234",
saveUninitialized: true
},
{
packagePath: "./connect.session.file",
sessionsPath: __dirname + "/../.sessions",
maxAge: 7 * 24 * 60 * 60 * 1000
maxAge: 86400
},
"./pylon.permissions",
{
Expand Down
Loading

0 comments on commit b5a79a9

Please sign in to comment.