Skip to content

Fix session cookie timeout configuration - #460

Merged
ostefano merged 1 commit into
MISP:masterfrom
jeremiah-RENISAC:cookie-timeout-fix
Oct 9, 2026
Merged

ostefano merged 1 commit into
MISP:masterfrom
jeremiah-RENISAC:cookie-timeout-fix

Conversation

@jeremiah-RENISAC

Copy link
Copy Markdown
Contributor

Current behaviour causes CakePHP to miss PHP_SESSION_COOKIE_TIMEOUT configuration and fall back to the 60-minute session timeout, resulting in users being sent back for re-authentication every hour by default, even when active.

This corrects a typo in the MISP session configuration key from cookie_timeout to cookieTimeout, which is the name CakePHP reads: CakeSession::_configureSession() checks Session.cookieTimeout and uses it to calculate session.cookie_lifetime.

@ostefano
ostefano merged commit ffe0e7c into MISP:master Oct 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants