Skip to main content

Admin sign-in and sessions

These settings control how long an admin stays signed in to the admin panel.

Key Default What it does
JWT_EXPIRE 180 min (minimum 10) Lifetime of a sign-in. Each time the panel is opened or reloaded, the sign-in is renewed for this long. LDAP sign-ins use the same value.
LIMIT_ADMIN_LOGGED_IN_SESSIONS Off Turns the session limit on.
MAXIMUM_ADMIN_LOGGED_IN_SESSIONS 1 Sessions allowed per admin. When an admin signs in and has more sessions than this, the oldest ones are signed out.
ADMIN_PANEL_IDLE_TIMEOUT_SETTINGS on, 5 min, countdown 1 min Idle sign-out: after idleTimeoutMin minutes without activity (activityEvents: click, keydown, scroll) a countdown of countdownMin minutes is shown, then the panel signs out. Countdown 0 signs out at once.

The idle sign-out runs only in the browser

  • The server does not know whether an admin is idle. A sign-in that the browser never ended (tab closed, computer asleep) stays valid until JWT_EXPIRE runs out.
  • To limit that time, lower JWT_EXPIRE. The idle timeout alone is not enough.

Changes apply from the next sign-in or the next renewal. The older keys ADMIN_PANEL_IDLE_TIMEOUT_ENABLED, ADMIN_PANEL_IDLE_TIMEOUT_MIN and ADMIN_PANEL_LOGOUT_WAIT_TIMEOUT_MIN are used only while ADMIN_PANEL_IDLE_TIMEOUT_SETTINGS is not set.