Merge conflict Gerrit cannot merge this change. It needs a rebase onto main.

Review main Ready for review Quiet

96350[BUGFIX] Show backend re-login modal reliably

Wolfgang Klinger CR 0 V 0 Hard +291 −37 updated 10/04/26, 16:34

Commit message

The session check in the backend ran on a fixed interval of
sessionTimeout - 60 seconds, counted from the moment the backend
was loaded. The session itself expires sessionTimeout seconds after
the last request, so the check only caught the expiry if the user
did nothing in the first minute after login. Otherwise the session
expired unnoticed and AJAX actions failed silently until a reload.

The timed-out endpoint now also reports the remaining lifetime of
the session and the client schedules its next check from that
value. In addition, AjaxRequest dispatches
typo3:ajax-request:unauthorized on the top frame for a 401
response, and the login refresh module shows the login form on it.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/50/96350/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/50/96350/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Issues 1

Files 10

Review log 12

  1. Wolfgang Klinger uploaded patch set 1 10/04/26, 16:26

  2. core-ci voted on patch set 1 V +1 10/04/26, 16:34 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110049