mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-13 06:43:06 +00:00
Keep campaign JWT and cookie lifetimes aligned while revoking the active server session on logout.
5 lines
271 B
TypeScript
5 lines
271 B
TypeScript
/** Default session: one field workday without persisting login across days. */
|
|
export const CAMPAIGN_SESSION_TTL_SHORT = 8 * 60 * 60
|
|
|
|
/** Explicit "remember me" session: a fortnight on the user's own device. */
|
|
export const CAMPAIGN_SESSION_TTL_LONG = 14 * 24 * 60 * 60
|