Skip to main content

SESSION_TTL_DAYS

Constant SESSION_TTL_DAYS 

Source
pub const SESSION_TTL_DAYS: i64 = 7;
Expand description

How long a newly-created session is valid before the middleware treats it as expired. Not configurable in 0.4.0 — kept fixed so the security surface stays small.