T13.11: session limit defaults to 8 hours (D25)
This commit is contained in:
@@ -59,8 +59,10 @@ log = logging.getLogger("wpsuite.auth")
|
||||
|
||||
COOKIE_NAME = "wp_session"
|
||||
JWT_ALG = "HS256"
|
||||
# How long a session lasts before the person must sign in again.
|
||||
SESSION_HOURS = int(os.getenv("AUTH_SESSION_HOURS", "12"))
|
||||
# How long a session lasts before the person must sign in again. Default 8 hours (D25).
|
||||
# One flat limit from the moment of sign-in. When T13.1 lands, the same variable becomes
|
||||
# the absolute ceiling and an idle timer is added under it.
|
||||
SESSION_HOURS = int(os.getenv("AUTH_SESSION_HOURS", "8"))
|
||||
|
||||
# ── permissions roles ─────────────────────────────────────────────────────────
|
||||
ROLE_ADMIN = "admin"
|
||||
|
||||
Reference in New Issue
Block a user