Does TYPO3 automatically revoke backend sessions when a user's password expires?
0 reputation · 14 Mar 2025, 01:33 UTC
0 reputation · 14 Mar 2025, 01:33 UTC
TYPO3's password_policy system extension (since v10) enforces maximum password age, history, and complexity rules for backend users. However, the interaction between password expiration and existing authenticated sessions appears underspecified in the documentation.
When a backend user's password reaches its configured expiry date, the AuthenticationService chain validates credentials before checking expiration status. This means a user with an expired password can still authenticate if their session cookie remains valid. The session lifetime is governed by sessionTimeout in LocalConfiguration.php, which defaults to several hours and can be extended.
Administrators needing immediate revocation must implement custom scheduler tasks or middleware, but the core behavior for native authentication remains unclear.
Which configuration options or extension points allow automatic session invalidation when a backend user's password expires? Does the core provide any event or hook triggered at the moment of password expiry that could initiate revocation? How do third-party authentication services integrate with the local password expiration state to prevent policy bypass?
A thoughtful contribution can make all the difference. Be the first to share one.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.