diff --git a/src/lib/authentication.ts b/src/lib/authentication.ts index da1c35ab..9605cc5f 100644 --- a/src/lib/authentication.ts +++ b/src/lib/authentication.ts @@ -2,7 +2,7 @@ import process from 'process'; import jwt from 'jsonwebtoken'; import ChtSession from './cht-session'; -const LOGIN_EXPIRES_AFTER_MS = 2 * 24 * 60 * 60 * 1000; +const LOGIN_EXPIRES_AFTER_MS = 4 * 24 * 60 * 60 * 1000; const QUEUE_SESSION_EXPIRATION = '96h'; const { COOKIE_PRIVATE_KEY, WORKER_PRIVATE_KEY } = process.env; const PRIVATE_KEY_SALT = '_'; // change to logout all users