#97059Removal of re-login popup functionality
Description
The re-login popup dialog has conceptual drawbacks, and I opt for removing it as its usefulness has been decreased in the past years.
The re-login works as this: An AJAX request is done every 60 seconds. If the session timeout is less than 60 seconds, then a popup is shown to re-enter their credentials to stay logged in. This is useful when writing longer texts and unsaved changes should be kept.
However, the following issues exist:- When using an external login provider (OAuth, SSO, OpenID connect) is used, the re-login concept does not work (that’s why there is a global ! option to disable the popup)
- When working with multiple tabs, and the editor jumps back to the tab when the session timeout is over, the new session does not keep the existing values either
- Custom login providers cannot be used in conjunction with this dialog
- The AJAX polling of 60 seconds is rather a bummer, as we should rather use “push” functionality when the login is about to expire
- Various places in TYPO3 Backend code try to allow such “AJAX polling” calls and build up the form without any useful rendering of such a dialog
In the past years, we also mitigated this issue by setting the session lifetime of backend users from 2h to 8h (= 1 workday) so editors should not see this dialog that often anymore.
Reviews 1
Related issues 5
- Bug #91376TYPO3 backend asks for password of SU user when SU backend session has timed out
- Bug #93662Login refresh asks for password of "switched to" user
- Bug #99397Refresh login does not take MFA into account
- Bug #101572Uncaught TypeError in class SystemInformationMenu while backend login renewal is pending
- Story #108298Improve TYPO3 login and session handling
History 1316
-
Markus Klein commented and changed description <span data-processor="relativetime" data-value="2022-02-28T20:23:33+00:00" > 02/28/22, 20:23 </span>
-
Andreas Kienast commented <span data-processor="relativetime" data-value="2022-03-01T14:56:19+00:00" > 03/01/22, 14:56 </span>
Another issue that’s unsolved to my knowledge: if an admin is impersonating another backend user and that session expires, the dialog asks for the password of the impersonated(!) backend user.
-
Markus Klein commented <span data-processor="relativetime" data-value="2022-06-08T06:17:23+00:00" > 06/08/22, 06:17 </span>
Yep Andy, that’s #93662
-
Benni Mack changed Related to #93662 <span data-processor="relativetime" data-value="2022-06-08T06:17:56+00:00" > 06/08/22, 06:17 </span>
-
Gerrit Hübbers commented <span data-processor="relativetime" data-value="2022-12-01T15:35:16+00:00" > 12/01/22, 15:35 </span>
> that’s why there is a global ! option to disable the popup
I read this statement that versions 11 and older already have an option to disable the popup. Which option is that?
-
Benni Mack commented <span data-processor="relativetime" data-value="2022-12-02T23:59:23+00:00" > 12/02/22, 23:59 </span>
Gerrit Hübbers wrote in #note-5:
> > that’s why there is a global ! option to disable the popup
>
> I read this statement that versions 11 and older already have an option to disable the popup. Which option is that?The option is called $TYPO3_CONF_VARS[BE][showRefreshLoginPopup]
-
Riccardo De Contardi changed Related to #91376 <span data-processor="relativetime" data-value="2023-06-20T08:08:18+00:00" > 06/20/23, 08:08 </span>
-
Garvin Hicking changed Related to #101572 <span data-processor="relativetime" data-value="2024-08-08T18:16:56+00:00" > 08/08/24, 18:16 </span>
-
Garvin Hicking changed Related to #99397 <span data-processor="relativetime" data-value="2024-08-08T18:18:01+00:00" > 08/08/24, 18:18 </span>
-
Torben Hansen commented <span data-processor="relativetime" data-value="2024-08-15T11:02:50+00:00" > 08/15/24, 11:02 </span>
Fully agree with the task. Lets remove the functionality in v14
-
Torben Hansen changed TYPO3 Version
1214 <span data-processor="relativetime" data-value="2024-12-14T12:27:52+00:00" > 12/14/24, 12:27 </span> -
Gerrit Code Review pushed patch set 1 for main to change 91404 status
NewUnder Review <span data-processor="relativetime" data-value="2025-11-02T18:29:31+00:00" > 11/02/25, 18:29 </span> -
Gerrit Code Review pushed patch set 2 for main to change 91404 <span data-processor="relativetime" data-value="2025-11-04T13:21:00+00:00" > 11/04/25, 13:21 </span>
-
Torben Hansen commented and changed attached Bildschirmfoto 2025-11-08 um 09.01.55.png <span data-processor="relativetime" data-value="2025-11-08T08:12:47+00:00" > 11/08/25, 08:12 </span>
In the current modal, when the user password is entered wrong, the following message is shown
Bildschirmfoto%202025-11-08%20um%2009.01.55.png
There is no possibility to re-enter the password and user has to re-login using the backend login.
-
Gerrit Code Review pushed patch set 3 for main to change 91404 <span data-processor="relativetime" data-value="2025-11-24T15:53:26+00:00" > 11/24/25, 15:53 </span>
-
Torben Hansen changed Related to #108298 <span data-processor="relativetime" data-value="2025-11-24T18:08:32+00:00" > 11/24/25, 18:08 </span>
I agree