mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Allow session length to be configured using SHARELATEX_COOKIE_SESSION_LENGTH (#15018)
GitOrigin-RevId: abbe31e1511afc9a9071c0bed58f73cb214cd0b4
This commit is contained in:
@@ -229,6 +229,12 @@ const settings = {
|
||||
behindProxy: process.env.SHARELATEX_BEHIND_PROXY || false,
|
||||
trustedProxyIps: process.env.SHARELATEX_TRUSTED_PROXY_IPS,
|
||||
|
||||
// The amount of time, in milliseconds, until the (rolling) cookie session expires
|
||||
cookieSessionLength: parseInt(
|
||||
process.env.SHARELATEX_COOKIE_SESSION_LENGTH || 5 * 24 * 60 * 60 * 1000, // default 5 days
|
||||
10
|
||||
),
|
||||
|
||||
i18n: {
|
||||
subdomainLang: {
|
||||
www: {
|
||||
|
||||
Reference in New Issue
Block a user