Repository navigation
Release v1.8.0
Release v1.8.0: security - panel login hardened (session migrate, throttling), HMAC bypass cookie, segment-aware panel prefix.
Changelog
Security
- Panel password login now migrates the session id on success (
$session->migrate(true)), preventing session fixation. - Panel password attempts are throttled: after
security.login_max_attempts(default 5) failures withinsecurity.login_lockout_seconds(default 900) per session and per client IP (viacache.appwhen available), the password is not checked and the login form answers 429. - The bypass cookie no longer stores the raw
security.bypass_token; it holds an HMAC-SHA256 value derived from it. The?maintenance_bypass=TOKENquery parameter keeps working. - Panel path prefix matching is now segment-aware:
/_maintenanceno longer exempts unrelated paths such as/_maintenance-publicfrom the maintenance page (subscriber and auto-added exclusion).
Changed
- New options
security.login_max_attempts(0disables throttling) andsecurity.login_lockout_seconds; new translation keypanel.login.locked.
Full Changelog: v1.7.1...v1.8.0