remember me reimplemented

This commit is contained in:
azivner
2017-10-16 19:14:15 -04:00
parent a13b4a6f7e
commit 6bca1cddcd
3 changed files with 9 additions and 3 deletions

2
app.js
View File

@@ -52,7 +52,7 @@ app.use(session({
maxAge: 1800000
},
store: new FileStore({
ttl: 3600,
ttl: 30 * 24 * 3600,
path: '../trilium-data/sessions'
})
}));