Skip to content

Commit b81d02f

Browse files
authored
Make token available for 48 hours (#328)
1 parent acbe1df commit b81d02f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ app.use(cookieSession({
6161
name: "session",
6262
keys: [process.env.COOKIE_SECRET],
6363
// Cookie Options
64-
maxAge: 60 * 60 * 1000 //Logged in for 1 hour
64+
maxAge: 48 * 60 * 60 * 1000 //Logged in for 48 hours
6565
}));
6666
app.use(passport.initialize());
6767
app.use(passport.session()); //persistent login session

0 commit comments

Comments
 (0)