From 14693c34d4875314dbdc175f99bfe704b0b7a797 Mon Sep 17 00:00:00 2001 From: abdulla-ashurov <99400260+abdulla-ashurov@users.noreply.github.com> Date: Fri, 29 Sep 2023 17:33:34 +0500 Subject: [PATCH] fix: Investigate frequent logouts on Credential Service [DEV-3251] (#395) Update cookie session time to 24 hours. --- src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.ts b/src/app.ts index e0229509..5e196aa1 100644 --- a/src/app.ts +++ b/src/app.ts @@ -76,7 +76,7 @@ class App { (function () { throw new Error('COOKIE_SECRET is not defined'); })(), - cookie: { maxAge: 14 * 24 * 60 * 60 }, + cookie: { maxAge: 24 * 60 * 60 * 1000 }, // 24 hours }) ); // Authentication functions/methods