Update libflitter and set session max age
This commit is contained in:
parent
f06ff83dce
commit
fe0a4d5991
@ -35,7 +35,12 @@ const server_config = {
|
|||||||
* The secret used to encrypt the session.
|
* The secret used to encrypt the session.
|
||||||
* This should be set in the environment.
|
* This should be set in the environment.
|
||||||
*/
|
*/
|
||||||
secret: env("SECRET", "changeme")
|
secret: env("SECRET", "changeme"),
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The max age of a session in milliseconds
|
||||||
|
*/
|
||||||
|
max_age: env("SESSION_MAX_AGE", 1000 * 60 * 60 * 24 * 2), // default to 2 days
|
||||||
},
|
},
|
||||||
|
|
||||||
uploads: {
|
uploads: {
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
"ioredis": "^4.17.1",
|
"ioredis": "^4.17.1",
|
||||||
"is-absolute-url": "^3.0.3",
|
"is-absolute-url": "^3.0.3",
|
||||||
"ldapjs": "^1.0.2",
|
"ldapjs": "^1.0.2",
|
||||||
"libflitter": "^0.56.1",
|
"libflitter": "^0.57.0",
|
||||||
"moment": "^2.24.0",
|
"moment": "^2.24.0",
|
||||||
"mongodb": "^3.5.9",
|
"mongodb": "^3.5.9",
|
||||||
"nodemailer": "^6.4.6",
|
"nodemailer": "^6.4.6",
|
||||||
|
@ -3235,10 +3235,10 @@ leven@^1.0.2:
|
|||||||
resolved "https://registry.yarnpkg.com/leven/-/leven-1.0.2.tgz#9144b6eebca5f1d0680169f1a6770dcea60b75c3"
|
resolved "https://registry.yarnpkg.com/leven/-/leven-1.0.2.tgz#9144b6eebca5f1d0680169f1a6770dcea60b75c3"
|
||||||
integrity sha1-kUS27ryl8dBoAWnxpncNzqYLdcM=
|
integrity sha1-kUS27ryl8dBoAWnxpncNzqYLdcM=
|
||||||
|
|
||||||
libflitter@^0.56.1:
|
libflitter@^0.57.0:
|
||||||
version "0.56.1"
|
version "0.57.0"
|
||||||
resolved "https://registry.yarnpkg.com/libflitter/-/libflitter-0.56.1.tgz#250166027b9cab727c9deb6b1fa1865428b1eafb"
|
resolved "https://registry.yarnpkg.com/libflitter/-/libflitter-0.57.0.tgz#4383d188c4db5b36a5c684874b901ad964f1f721"
|
||||||
integrity sha512-QikFtFRa9okKOjOio5ehpQ6hyacCoMbtOlqcXt4I7uU3lntBeP5qSbz1q3x1wUY/AdBc2k70+Eg8BcpGmBEs4Q==
|
integrity sha512-0yj9tXg5OW7C+sIdRm7ygw+kezaKaYrhvfONCKzqGn9gcUY7HGigALieSIaWuXnj7A+fn6e69gOyFnmwxwuZVQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
colors "^1.3.3"
|
colors "^1.3.3"
|
||||||
connect-mongodb-session "^2.2.0"
|
connect-mongodb-session "^2.2.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user