Issue Task Under Review Orphaned

#97059Removal of re-login popup functionality

Benni Mack 02/28/22, 09:41 updated 11/24/25, 15:53

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

Files 1

History 1316

  1. Markus Klein commented and changed description 02/28/22, 20:23

    I agree

  2. Andreas Kienast commented 03/01/22, 14:56

    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.

  3. Markus Klein commented 06/08/22, 06:17

    Yep Andy, that’s #93662

  4. Benni Mack changed Related to #93662 06/08/22, 06:17

  5. Gerrit Hübbers commented 12/01/22, 15:35

    > 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?

  6. Benni Mack commented 12/02/22, 23:59

    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]

  7. Riccardo De Contardi changed Related to #91376 06/20/23, 08:08

  8. Garvin Hicking changed Related to #101572 08/08/24, 18:16

  9. Garvin Hicking changed Related to #99397 08/08/24, 18:18

  10. Torben Hansen commented 08/15/24, 11:02

    Fully agree with the task. Lets remove the functionality in v14

  11. Torben Hansen changed TYPO3 Version 12 14 12/14/24, 12:27

  12. Gerrit Code Review pushed patch set 1 for main to change 91404 status New Under Review 11/02/25, 18:29

  13. Gerrit Code Review pushed patch set 2 for main to change 91404 11/04/25, 13:21

  14. Torben Hansen commented and changed attached Bildschirmfoto 2025-11-08 um 09.01.55.png 11/08/25, 08:12

    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.

  15. Gerrit Code Review pushed patch set 3 for main to change 91404 11/24/25, 15:53

  16. Torben Hansen changed Related to #108298 11/24/25, 18:08